Surface NMR processing and inversion GUI
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #!/usr/bin/env python
  2. # Requires PyQt5 and compiltion of GUI files via pyuic
  3. from setuptools import setup, Extension
  4. from setuptools.command.build_py import build_py
  5. from pyqt_distutils.build_ui import build_ui
  6. class custom_build_py(build_py):
  7. def run(self):
  8. self.run_command('build_ui')
  9. build_py.run(self)
  10. setup(name='Akvo',
  11. version='1.0.5',
  12. description='Surface nuclear magnetic resonance workbench',
  13. author='Trevor P. Irons',
  14. author_email='Trevor.Irons@lemmasoftware.org',
  15. url='https://svn.lemmasofware.org/akvo',
  16. #setup_requires=['PyQt5'],
  17. setup_requires=[
  18. # Setuptools 18.0 properly handles Cython extensions.
  19. #'PyQt',
  20. 'pyqt_distutils','setuptools>=18.0',
  21. ],
  22. # ext_modules = cythonise("akvo/tressel/*.pyx"),
  23. # build_requires=['cython'],
  24. install_requires=[
  25. # 'cython',
  26. 'rpy2',
  27. 'matplotlib',
  28. 'scipy',
  29. 'numpy',
  30. # 'PyQt5',
  31. 'pyyaml',
  32. 'pyqt-distutils',
  33. 'cmocean'
  34. ],
  35. packages=['akvo', 'akvo.tressel', 'akvo.gui'],
  36. license=['GPL 4.0'],
  37. entry_points = {
  38. 'console_scripts': [
  39. 'akvo = akvo.gui.akvoGUI:main',
  40. ],
  41. },
  42. # for forced build of pyuic
  43. cmdclass={
  44. 'build_ui': build_ui,
  45. 'build_py': custom_build_py,
  46. },
  47. # Mechanism to include auxiliary files
  48. include_package_data=True,
  49. package_data={
  50. 'akvo.gui': ['*.png'] #All .r files
  51. },
  52. )