-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.29 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
"""One lib to sign them all.
"""
from setuptools import setup, find_packages
__version__ = None
__description__ = None
with open('signa/__init__.py') as module_fp:
for line in module_fp:
if line.startswith('__version__'):
__version__ = line.split('=')[1].strip().strip("'").strip('"')
break
with open('README.md', 'r') as readme_fp:
__description__ = readme_fp.read()
# NOTE: Steps for publishing
# - pip install twine wheel
# - python setup.py sdist bdist_wheel
# - twine check dist/*
# - twine upload dist/*
setup(
name='signa',
version=__version__,
author="Alexey Kinëv",
author_email='[email protected]',
url='https://github.com/05bit/python-signa',
description=__doc__.strip(),
long_description=__description__,
long_description_content_type='text/markdown',
license='MIT License',
# zip_safe=False,
packages=find_packages(),
# include_package_data=True,
install_requires=[],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
test_suite='tests',
test_loader='unittest:TestLoader',
)