@@ -96,8 +96,8 @@ def status_msgs(*msgs):
9696def find_packages (location ):
9797 packages = []
9898 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 ))):
101101 if '__init__.py' in files :
102102 tokens = _dir .split (os .sep )[len (location .split (os .sep )):]
103103 packages .append ("." .join (tokens ))
@@ -110,48 +110,46 @@ def run_setup(with_cext):
110110 if Feature :
111111 kwargs ['features' ] = {
112112 '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 )
117116 }
118117 else :
119118 kwargs ['ext_modules' ] = ext_module
120119
121- setup (
122- name = 'maxminddb' ,
123- version = VERSION ,
124- author = 'Gregory Oschwald' ,
125- author_email = 'goschwald@maxmind.com' ,
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+ author_email = 'goschwald@maxmind.com' ,
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 )
155153
156154
157155if PYPY or JYTHON :
0 commit comments