@@ -96,8 +96,8 @@ def status_msgs(*msgs):
96
96
def find_packages (location ):
97
97
packages = []
98
98
for pkg in ['maxminddb' ]:
99
- for _dir , subdirectories , files in (os .walk (
100
- os . path . join ( location , pkg ))):
99
+ for _dir , subdirectories , files in (os .walk (os . path . join (
100
+ location , pkg ))):
101
101
if '__init__.py' in files :
102
102
tokens = _dir .split (os .sep )[len (location .split (os .sep )):]
103
103
packages .append ("." .join (tokens ))
@@ -110,48 +110,46 @@ def run_setup(with_cext):
110
110
if Feature :
111
111
kwargs ['features' ] = {
112
112
'extension' :
113
- Feature (
114
- "optional C implementation" ,
115
- standard = True ,
116
- ext_modules = ext_module )
113
+ Feature ("optional C implementation" ,
114
+ standard = True ,
115
+ ext_modules = ext_module )
117
116
}
118
117
else :
119
118
kwargs ['ext_modules' ] = ext_module
120
119
121
- setup (
122
- name = 'maxminddb' ,
123
- version = VERSION ,
124
- author = 'Gregory Oschwald' ,
125
-
126
- description = 'Reader for the MaxMind DB format' ,
127
- long_description = README ,
128
- url = 'http://www.maxmind.com/' ,
129
- packages = find_packages ('.' ),
130
- package_data = {'' : ['LICENSE' ]},
131
- package_dir = {'maxminddb' : 'maxminddb' },
132
- python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' ,
133
- include_package_data = True ,
134
- install_requires = requirements ,
135
- tests_require = ['nose' ],
136
- test_suite = 'nose.collector' ,
137
- license = LICENSE ,
138
- cmdclass = cmdclass ,
139
- classifiers = [
140
- 'Development Status :: 5 - Production/Stable' ,
141
- 'Environment :: Web Environment' ,
142
- 'Intended Audience :: Developers' ,
143
- 'Intended Audience :: System Administrators' ,
144
- 'License :: OSI Approved :: Apache Software License' ,
145
- 'Programming Language :: Python :: 2.7' ,
146
- 'Programming Language :: Python :: 3' ,
147
- 'Programming Language :: Python :: 3.5' ,
148
- 'Programming Language :: Python :: 3.6' ,
149
- 'Programming Language :: Python :: 3.7' ,
150
- 'Programming Language :: Python' ,
151
- 'Topic :: Internet :: Proxy Servers' ,
152
- 'Topic :: Internet' ,
153
- ],
154
- ** kwargs )
120
+ setup (name = 'maxminddb' ,
121
+ version = VERSION ,
122
+ author = 'Gregory Oschwald' ,
123
+
124
+ description = 'Reader for the MaxMind DB format' ,
125
+ long_description = README ,
126
+ url = 'http://www.maxmind.com/' ,
127
+ packages = find_packages ('.' ),
128
+ package_data = {'' : ['LICENSE' ]},
129
+ package_dir = {'maxminddb' : 'maxminddb' },
130
+ python_requires = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*' ,
131
+ include_package_data = True ,
132
+ install_requires = requirements ,
133
+ tests_require = ['nose' ],
134
+ test_suite = 'nose.collector' ,
135
+ license = LICENSE ,
136
+ cmdclass = cmdclass ,
137
+ classifiers = [
138
+ 'Development Status :: 5 - Production/Stable' ,
139
+ 'Environment :: Web Environment' ,
140
+ 'Intended Audience :: Developers' ,
141
+ 'Intended Audience :: System Administrators' ,
142
+ 'License :: OSI Approved :: Apache Software License' ,
143
+ 'Programming Language :: Python :: 2.7' ,
144
+ 'Programming Language :: Python :: 3' ,
145
+ 'Programming Language :: Python :: 3.5' ,
146
+ 'Programming Language :: Python :: 3.6' ,
147
+ 'Programming Language :: Python :: 3.7' ,
148
+ 'Programming Language :: Python' ,
149
+ 'Topic :: Internet :: Proxy Servers' ,
150
+ 'Topic :: Internet' ,
151
+ ],
152
+ ** kwargs )
155
153
156
154
157
155
if PYPY or JYTHON :
0 commit comments