-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
executable file
·48 lines (42 loc) · 1.35 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import sys
import os
from distutils import versionpredicate
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst'),'rb').read().decode('utf-8')
NEWS = open(os.path.join(here, 'NEWS.txt'),'rb').read().decode('utf-8')
version = '1.0.0'
install_requires = [
'defusedxml', 'lxml', 'pyconfig', 'requests', 'cryptography', 'six'
]
# Let some other project depend on 'xmlsec[PKCS11]'
extras_require = {
'PKCS11': ["PyKCS11"],
}
setup(name='pyXMLSecurity',
version=version,
description="pure Python XML Security",
long_description=README + '\n\n' + NEWS,
classifiers=[
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
],
keywords='xml xml-dsig security digital signature rsa',
author='Leif Johansson',
author_email='[email protected]',
url='http://blogs.mnt.se',
license='BSD',
packages=find_packages('src'),
tests_require=['nose>=1.0', 'mock'],
test_suite="nose.collector",
package_dir = {'': 'src'},
include_package_data=True,
package_data = {
},
zip_safe=False,
install_requires=install_requires,
extras_require=extras_require,
entry_points={
'console_scripts': ['xmlsign=xmlsec.tools:sign_cmd','xmlverify=xmlsec.tools:verify_cmd']
},
)