-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (36 loc) · 1.3 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
""" To upload the next version of the library:
1. Increment the __version__.py.
2. Run `python setup.py sdist`
3. Run `twine upload dist/*`
"""
import setuptools
from pybiosis.__version__ import __version__
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="pybiosis",
version=str(__version__),
author="Nawar Ismail",
author_email="[email protected]",
description="Python Automation Software; Decorators as Entry-Points.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Palfore/Pybiosis",
include_package_data=True,
project_urls={
"Bug Tracker": "https://github.com/Palfore/Pybiosis/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
python_requires=">=3.10",
entry_points={
'console_scripts': [ # TODO: Seems to bug. Possibly when chaining calls with these aliases.
'pybiosis = pybiosis.__main__:main',
'bb = pybiosis.__main__:main', # TODO: make 'bb' dynamic with a CLI --alias command for config. Not sure if possible.
],
},
)