12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
-
-
-
- from setuptools import setup, Extension
- from setuptools.command.build_py import build_py
-
- try:
- from pyqt_distutils.build_ui import build_ui
- except:
- print("Please install pyqt_distutils")
- print( "(sudo) pip(3) install pyqt-distutils")
- exit()
-
- class custom_build_py(build_py):
- def run(self):
- self.run_command('build_ui')
- build_py.run(self)
-
- setup(name='Akvo',
- version='1.0.5',
- description='Surface nuclear magnetic resonance workbench',
- author='Trevor P. Irons',
- author_email='Trevor.Irons@lemmasoftware.org',
- url='https://svn.lemmasofware.org/akvo',
-
- setup_requires=[
-
-
- 'pyqt_distutils',
- 'PyQt5',
- 'setuptools>=18.0',
- ],
-
-
- install_requires=[
-
- 'rpy2',
- 'matplotlib',
- 'scipy',
- 'numpy',
- 'PyQt5',
- 'pyyaml',
- 'pandas',
- 'pyqt-distutils',
- 'cmocean'
- ],
- packages=['akvo', 'akvo.tressel', 'akvo.gui'],
- license=['GPL 4.0'],
- entry_points = {
- 'console_scripts': [
- 'akvo = akvo.gui.akvoGUI:main',
- ],
- },
-
-
- cmdclass={
- 'build_ui': build_ui,
- 'build_py': custom_build_py,
- },
-
- include_package_data=True,
- package_data={
- 'akvo.gui': ['*.png']
- },
- )
-
|