|
| 1 | +#!/usr/bin/env python |
| 2 | + |
1 | 3 | from setuptools import setup |
2 | 4 |
|
3 | | -try: |
4 | | - with open('README.rst', 'rt') as f: |
5 | | - long_description = f.read() |
6 | | -except: |
7 | | - long_description = "See README" |
| 5 | +if __name__ == '__main__': |
| 6 | + |
| 7 | + try: |
| 8 | + with open('README.rst', 'rt') as f: |
| 9 | + long_description = f.read() |
| 10 | + except: |
| 11 | + long_description = "See README" |
8 | 12 |
|
9 | | -setup(name='PumpkinLB', |
10 | | - version='1.4.0', |
11 | | - scripts=['PumpkinLB.py'], |
12 | | - packages=['pumpkinlb'], |
13 | | - author='Tim Savannah', |
14 | | - author_email='kata198@gmail.com', |
15 | | - maintainer='Tim Savannah', |
16 | | - maintainer_email='kata198@gmail.com', |
17 | | - provides=['PumpkinLB'], |
18 | | - description='A simple, fast, pure-python load balancer', |
19 | | - url='https://github.com/kata198/PumpkinLB', |
20 | | - long_description=long_description, |
21 | | - license='GPLv3', |
22 | | - keywords=['load balancer', 'load balance', 'python', 'balance', 'lb', 'http', 'socket', 'port', 'forward', 'tcp', 'fast', 'server', 'network'], |
23 | | - classifiers=['Development Status :: 4 - Beta', |
24 | | - 'Programming Language :: Python', |
25 | | - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', |
26 | | - 'Programming Language :: Python :: 2', |
27 | | - 'Programming Language :: Python :: 2.7', |
28 | | - 'Topic :: Internet', |
29 | | - 'Topic :: Internet :: WWW/HTTP', |
30 | | - 'Topic :: System :: Distributed Computing', |
31 | | - 'Topic :: System :: Networking', |
32 | | - ] |
33 | | -) |
| 13 | + setup(name='PumpkinLB', |
| 14 | + version='2.0.0', |
| 15 | + scripts=['PumpkinLB.py'], |
| 16 | + packages=['pumpkinlb'], |
| 17 | + author='Tim Savannah', |
| 18 | + author_email='kata198@gmail.com', |
| 19 | + maintainer='Tim Savannah', |
| 20 | + maintainer_email='kata198@gmail.com', |
| 21 | + provides=['PumpkinLB'], |
| 22 | + description='A simple, fast, pure-python load balancer', |
| 23 | + url='https://github.com/kata198/PumpkinLB', |
| 24 | + long_description=long_description, |
| 25 | + license='GPLv3', |
| 26 | + keywords=['load balancer', 'load balance', 'python', 'balance', 'lb', 'http', 'socket', 'port', 'forward', 'tcp', 'fast', 'server', 'network'], |
| 27 | + classifiers=['Development Status :: 4 - Beta', |
| 28 | + 'Programming Language :: Python', |
| 29 | + 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', |
| 30 | + 'Programming Language :: Python :: 2', |
| 31 | + 'Programming Language :: Python :: 2.7', |
| 32 | + 'Programming Language :: Python :: 3.4', |
| 33 | + 'Programming Language :: Python :: 3.5', |
| 34 | + 'Topic :: Internet', |
| 35 | + 'Topic :: Internet :: WWW/HTTP', |
| 36 | + 'Topic :: System :: Distributed Computing', |
| 37 | + 'Topic :: System :: Networking', |
| 38 | + ] |
| 39 | + ) |
0 commit comments