Nathan Knuth | a96d20d | 2016-09-08 14:40:26 -0700 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | |
| 3 | import os |
| 4 | from setuptools import setup |
| 5 | |
| 6 | # Utility function to read the README file. |
| 7 | def read(fname): |
| 8 | return open(os.path.join(os.path.dirname(__file__), fname)).read() |
| 9 | |
| 10 | twisted_deps = ['twisted'] |
Nathan Knuth | 805af1d | 2016-09-08 15:25:50 -0700 | [diff] [blame] | 11 | scapy_deps = ['scapy>=2.2.0'] |
Nathan Knuth | a96d20d | 2016-09-08 14:40:26 -0700 | [diff] [blame] | 12 | setup( |
| 13 | name = 'voltha', |
Kim Kempf | c7dd914 | 2017-09-28 22:33:51 -0700 | [diff] [blame] | 14 | version = '1.2.0', |
Nathan Knuth | a96d20d | 2016-09-08 14:40:26 -0700 | [diff] [blame] | 15 | author = 'Zsolt Haraszti, Nathan Knuth, Ali Al-Shabibi', |
Kim Kempf | 6125460 | 2017-09-13 11:57:32 -0700 | [diff] [blame] | 16 | author_email = 'voltha-discuss@opencord.org', |
Nathan Knuth | a96d20d | 2016-09-08 14:40:26 -0700 | [diff] [blame] | 17 | description = ('Virtual Optical Line Terminal (OLT) Hardware Abstraction'), |
| 18 | license = 'LICENSE.txt', |
| 19 | keywords = 'volt gpon cord', |
| 20 | url = 'http://gerrit.opencord.org/voltha', |
| 21 | packages=['voltha', 'tests'], |
| 22 | long_description=read('README.md'), |
| 23 | classifiers=[ |
| 24 | 'Development Status :: 3 - Alpha', |
| 25 | 'Topic :: System :: Networking', |
| 26 | 'Programming Language :: Python', |
| 27 | 'License :: OSI Approved :: Apache License 2.0', |
| 28 | ], |
Nathan Knuth | 805af1d | 2016-09-08 15:25:50 -0700 | [diff] [blame] | 29 | install_requires=[ |
| 30 | 'six>1.7.2', |
| 31 | ], |
Nathan Knuth | a96d20d | 2016-09-08 14:40:26 -0700 | [diff] [blame] | 32 | extras_require={ |
| 33 | 'twisted': twisted_deps, |
| 34 | 'all' : twisted_deps |
| 35 | }, |
| 36 | ) |