|
1 | 1 | #!/usr/bin/env python |
2 | | -import os |
3 | | -from setuptools import setup, find_packages |
4 | | -from securid import __version__ |
| 2 | +import setuptools |
5 | 3 |
|
6 | | -install_requires = [ |
7 | | - line.rstrip() |
8 | | - for line in open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) |
9 | | -] |
10 | | - |
11 | | -setup( |
12 | | - name='securid', |
13 | | - version=__version__, |
14 | | - description='Python RSA SecurID 128-bit compatible library', |
15 | | - long_description='python-securid is a Python library for generating RSA SecurID 128-bit compatible token codes.', |
16 | | - classifiers=[ |
17 | | - 'Operating System :: OS Independent', |
18 | | - 'Programming Language :: Python', |
19 | | - 'Topic :: Software Development :: Libraries :: Python Modules', |
20 | | - 'Programming Language :: Python :: 3.5', |
21 | | - 'Programming Language :: Python :: 3.6', |
22 | | - 'Programming Language :: Python :: 3.7', |
23 | | - 'Programming Language :: Python :: 3.8', |
24 | | - 'Programming Language :: Python :: 3.9', |
25 | | - ], |
26 | | - keywords='securid otp', |
27 | | - author='Andrea Bonomi', |
28 | | - author_email='andrea.bonomi@gmail.com', |
29 | | - url='http://github.com/andreax79/python-securid', |
30 | | - license='MIT', |
31 | | - packages=find_packages(exclude=['ez_setup', 'examples']), |
32 | | - include_package_data=True, |
33 | | - zip_safe=True, |
34 | | - install_requires=install_requires, |
35 | | - entry_points={ |
36 | | - 'console_scripts': [ |
37 | | - 'securid=securid.cli:main', |
38 | | - ], |
39 | | - }, |
40 | | - test_suite='test', |
41 | | - tests_require=['nose'], |
42 | | -) |
| 4 | +if __name__ == "__main__": |
| 5 | + setuptools.setup() |
0 commit comments