Skip to content

Commit 2fdc4fe

Browse files
committed
Update setup.py
1 parent 49f8e12 commit 2fdc4fe

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

setup.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66

77
import geoip2
88

9-
try:
10-
from setuptools import setup
11-
except ImportError:
12-
from distutils.core import setup
13-
14-
if sys.argv[-1] == 'publish':
15-
os.system('python setup.py sdist upload')
16-
sys.exit()
9+
from setuptools import setup
1710

1811
packages = ['geoip2']
1912

@@ -37,7 +30,7 @@
3730
tests_require=['requests_mock'],
3831
test_suite="tests",
3932
license=geoip2.__license__,
40-
classifiers=(
33+
classifiers=[
4134
'Development Status :: 5 - Production/Stable',
4235
'Environment :: Web Environment',
4336
'Intended Audience :: Developers',
@@ -51,5 +44,5 @@
5144
'Programming Language :: Python',
5245
'Topic :: Internet :: Proxy Servers',
5346
'Topic :: Internet',
54-
),
47+
],
5548
)

0 commit comments

Comments
 (0)