-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
40 lines (35 loc) · 1.21 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
#!/usr/bin/env python3
from distutils.core import setup
# Read README for long description
readme = open('README').read()
try:
import pypandoc
pypandoc.get_pandoc_formats()
readme = pypandoc.convert_text(readme, to='rst', format='markdown')
except:
pass
with open('pylibscrypt/__init__.py') as f:
for l in f.readlines():
if l.startswith('__version__'):
version = l.split('=')[1].strip().strip("'")
setup(name='pylibscrypt',
version=version,
description='Scrypt for Python',
long_description=readme,
author='Jan Varho',
author_email='jan@varho.org',
url='https://github.com/jvarho/pylibscrypt',
license='ISC License',
packages=['pylibscrypt'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Security :: Cryptography',
'Topic :: Software Development :: Libraries',
],
)