-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor to setup.cfg
- Loading branch information
Showing
4 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[metadata] | ||
name = scpkit | ||
author = Aquia | ||
author_email = [email protected] | ||
url = https://www.aquia.us | ||
project_urls = | ||
Bug Tracker = https://github.com/aquia-inc/scpkit/issues | ||
Source = https://github.com/aquia-inc/scpkit | ||
description = This package helps consolidate service control policies in AWS | ||
license = Apache License 2.0 | ||
long_description = file: README.md | ||
long_description_content_type = text/markdown | ||
version = 0.1.0 | ||
|
||
[options] | ||
zip_safe = False | ||
include_package_data = True | ||
packages = find: | ||
install_requires = file: requirements.txt | ||
|
||
[options.entry_points] | ||
console_scripts = | ||
scpkit = scpkit.main:main | ||
|
||
[options.packages.find] | ||
exclude = | ||
tests* | ||
my_package.tests* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,3 @@ | ||
from setuptools import setup, find_packages | ||
import pkg_resources | ||
import pathlib | ||
from setuptools import setup | ||
|
||
import scpkit | ||
|
||
with pathlib.Path("requirements.txt").open() as requirements_txt: | ||
requires = [ str(r) for r in pkg_resources.parse_requirements(requirements_txt) ] | ||
|
||
with open("README.md", "r") as readme: | ||
long_description = readme.read() | ||
|
||
setup( | ||
name = 'scpkit', | ||
version = scpkit.__version__, | ||
author="Aquia", | ||
author_email="[email protected]", | ||
url="https://github.com/aquia-inc/scpkit", | ||
license="Apache License 2.0", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
packages = find_packages(exclude=['tests*']), | ||
entry_points = { | ||
'console_scripts': [ 'scpkit=scpkit.main:main'] | ||
}, | ||
install_requires = requires | ||
) | ||
setup() |