Skip to content

Commit 7fc47fd

Browse files
committed
Tag version 2.0.0
1 parent 6d73af9 commit 7fc47fd

File tree

2 files changed

+39
-33
lines changed

2 files changed

+39
-33
lines changed

pumpkinlb/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# PumpkinLB Copyright (c) 2014-2015 Tim Savannah under GPLv3.
1+
# PumpkinLB Copyright (c) 2014-2015, 2017 Tim Savannah under GPLv3.
22
# You should have received a copy of the license as LICENSE
33
#
44
# See: https://github.com/kata198/PumpkinLB
55

6-
__version__ = '1.4'
7-
__version_tuple__ = (1, 4, 0)
6+
__version__ = '2.0.0'
7+
__version_tuple__ = (2, 0, 0)

setup.py

Lines changed: 36 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,39 @@
1+
#!/usr/bin/env python
2+
13
from setuptools import setup
24

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"
812

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

Comments
 (0)