-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
52 lines (46 loc) · 1.7 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
import os
from setuptools import setup
def main():
with open(os.path.join("autocrypt", "__init__.py")) as f:
for line in f:
if "__version__" in line.strip():
version = line.split("=", 1)[1].strip().strip("'")
break
with open("README.rst") as f:
long_desc = f.read()
setup(
name='PyAC',
description='Autocrypt Level 1 implemention using PGPy',
long_description=long_desc,
version=version,
url='https://github.com/juga0/pyac',
license='MIT license',
author='juga',
author_email='[email protected]',
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Utilities',
'Topic :: Communications :: Email',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'],
packages=['autocrypt'],
entry_points='''
[console_scripts]
autocrypt=autocrypt.cli:main
''',
install_requires=["click>=6.0", "six", "PGPy>=0.4.1",
"emailpgp>=0.2.1", "attr"],
extras_require={
'dev': ['ipython', 'pyflakes', 'pep8'],
'test': ['tox', 'pytest'],
'doc': ['sphinx', 'sphinx-bootstrap-theme', 'pylint']
},
python_requires=">=3.5",
tests_require=['pytest'],
zip_safe=False,
)
if __name__ == '__main__':
main()