| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/py-pygsl/files/ |
Upload File : |
--- setup.py.orig 2021-12-07 16:05:38 UTC
+++ setup.py
@@ -89,8 +89,6 @@ del versiontext
gsldist_path = os.path.join(pygsldir, "gsl_dist")
sys.path.insert(0, gsldist_path)
-from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
-
import setuptools
import setuptools.command
import setuptools.command.install
@@ -173,26 +171,6 @@ else:
del t_file
-class CustomInstallCommand(setuptools.command.install.install):
- def run(self):
- # first re-generate GSL wrappers using SWIG
- self.run_command('gsl_wrappers')
- # then configure
- self.run_command('config')
- # then install
- setuptools.command.install.install.run(self)
- #super().run()
-
-class CustomBdistWheelCommand(_bdist_wheel):
- def run(self):
- # first re-generate GSL wrappers using SWIG
- self.run_command('gsl_wrappers')
- # then configure
- self.run_command('config')
- # then install
- _bdist_wheel.run(self)
- #super().run()
-
py_module_names = ['errors',
'statistics.__init__',
'_numobj',
@@ -270,10 +248,9 @@ setup (name = proj_name,
ext_package = 'pygsl',
ext_modules = exts,
headers = headers,
- cmdclass = {'bdist_wheel': CustomBdistWheelCommand,
+ cmdclass = {
'config' : gsl_Config_Path,
'gsl_wrappers': gsl_CodeGenerator.gsl_CodeGenerator,
- 'install': CustomInstallCommand,
#'build_sphinx': BuildDoc
},
install_requires = ['numpy'],