-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (47 loc) · 1.59 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Always place your charm's dependencies here and not directly in requirements.txt.
# This ensures that when `make dependencies` runs, it will install the runtime
# dependencies correctly. In addition, `make dependencies` will take care of
# updating and pinning the runtime dependencies in requirements.txt so that you
# don't have to. For more info, please see "Adding A Runtime Dependency" in this
# project's README.md file
runtime_requirements = [
"click",
"privy",
"pydantic>=1.7.0,<2.0.0",
"pyinfra>=1.3.2,<2.0.0",
"pyyaml",
]
import pathlib
from setuptools import (
find_packages,
setup,
)
# Some options here are taken from this handy guide:
# https://realpython.com/pypi-publish-python-package/
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
setup(
install_requires=runtime_requirements,
version='0.6.2', # DO NOT EDIT DIRECTLY! Use `bumpversion major|minor|patch`
name='aircraft',
author='Mark S. Maglana',
author_email='mmaglana@gmail.com',
long_description=README,
long_description_content_type="text/markdown",
url='https://github.com/relaxdiego/aircraft',
python_requires='~=3.6',
package_dir={'': 'src'},
include_package_data=True,
packages=find_packages('src'),
entry_points={
'console_scripts': [
'aircraft = aircraft.cli.main:main'
],
},
# https://pypi.org/classifiers/
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
]
)