-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (54 loc) · 1.81 KB
/
setup.py
File metadata and controls
59 lines (54 loc) · 1.81 KB
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
53
54
55
56
57
58
59
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from setuptools import setup
import sys
install_requires = []
if sys.version_info < (2, 7, 0):
install_requires.append('argparse')
# Create a long description for PyPI, but don't fail if run under tox
# and the files are not found
long_description = []
try:
for doc_file in ('README.md', 'CHANGELOG.md'):
with open(doc_file) as fh:
long_description.append(fh.read())
except:
print('Failed to add long_description, ignoring.')
setup(
name='pcrypt',
version='1.0.5',
author='Tarjei Husøy',
author_email='git@thusoy.com',
url='https://github.com/thusoy/python-crypt',
description="Pure-python implementation of the SHA2 crypt(3) functions",
long_description='\n'.join(long_description),
py_modules=['pcrypt'],
install_requires=install_requires,
extras_require={
'test': ['mock', 'pytest'],
},
entry_points={
'console_scripts': [
'pcrypt = pcrypt:cli',
]
},
license='MIT',
classifiers=[
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)