forked from bandoche/PyPinkSign
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·64 lines (56 loc) · 1.43 KB
/
setup.py
File metadata and controls
executable file
·64 lines (56 loc) · 1.43 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
60
61
62
63
64
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
def read_file(name):
"""
Read file content
"""
f = open(name)
try:
return f.read()
except IOError:
print("could not read %r" % name)
f.close()
PROJECT = 'pypinksign'
VERSION = '0.2.1'
URL = 'http://github.com/bandoche/PyPinkSign'
AUTHOR = 'Sangjun Jung'
AUTHOR_EMAIL = 'spamcoffee+pypinksign@gmail.com'
DESC = "Basic NPKI module."
LONG_DESC = "See https://github.com/bandoche/PyPinkSign" # read_file('README.rst')
EXTRAS = {}
if sys.version_info > (3,):
EXTRAS['use_2to3'] = True
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='MIT',
packages=['pypinksign'],
include_package_data=True,
zip_safe=False,
install_requires=[
'pycrypto==2.6.1',
'pkcs1==0.9.5',
'pyasn1==0.1.7',
'cryptography==0.8.2',
'bitarray==0.8.1',
'PBKDF==1.0'
],
keywords='npki 공인인증서 korean pki certificate',
platforms='OS Independent',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7'
],
**EXTRAS
)