@@ -176,40 +176,14 @@ def has_ext_modules(self):
176176 # arguments mostly empty in this case.
177177 cpython = ('_cffi_backend' not in sys .builtin_module_names )
178178
179- install_requires = []
180- if cpython :
181- install_requires .append ('pycparser' )
182-
183179 setup (
184- name = 'cffi' ,
185- description = 'Foreign Function Interface for Python calling C code.' ,
186- long_description = """
187- CFFI
188- ====
189-
190- Foreign Function Interface for Python calling C code.
191- Please see the `Documentation <http://cffi.readthedocs.org/>`_.
192-
193- Contact
194- -------
195-
196- `Mailing list <https://groups.google.com/forum/#!forum/python-cffi>`_
197- """ ,
198- version = '1.18.0.dev0' ,
199- python_requires = '>=3.8' ,
200180 packages = ['cffi' ] if cpython else [],
201181 package_dir = {"" : "src" },
202182 package_data = {'cffi' : ['_cffi_include.h' , 'parse_c_type.h' ,
203183 '_embedding.h' , '_cffi_errors.h' ]}
204184 if cpython else {},
205185 zip_safe = False ,
206186
207- url = 'http://cffi.readthedocs.org' ,
208- author = 'Armin Rigo, Maciej Fijalkowski' ,
209- author_email = 'python-cffi@googlegroups.com' ,
210-
211- license = 'MIT' ,
212-
213187 distclass = CFFIDistribution ,
214188 ext_modules = [Extension (
215189 name = '_cffi_backend' ,
@@ -222,26 +196,4 @@ def has_ext_modules(self):
222196 extra_link_args = extra_link_args ,
223197 extra_objects = forced_extra_objs ,
224198 )] if cpython else [],
225-
226- install_requires = install_requires ,
227-
228- entry_points = {
229- "distutils.setup_keywords" : [
230- "cffi_modules = cffi.setuptools_ext:cffi_modules" ,
231- ],
232- },
233-
234- classifiers = [
235- 'Programming Language :: Python' ,
236- 'Programming Language :: Python :: 3' ,
237- 'Programming Language :: Python :: 3.8' ,
238- 'Programming Language :: Python :: 3.9' ,
239- 'Programming Language :: Python :: 3.10' ,
240- 'Programming Language :: Python :: 3.11' ,
241- 'Programming Language :: Python :: 3.12' ,
242- 'Programming Language :: Python :: 3.13' ,
243- 'Programming Language :: Python :: Implementation :: CPython' ,
244- 'Programming Language :: Python :: Implementation :: PyPy' ,
245- 'License :: OSI Approved :: MIT License' ,
246- ],
247199 )
0 commit comments