Main Lemma Repository
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

setup.py 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. from setuptools import setup, Extension, find_packages
  2. from setuptools.dist import Distribution
  3. import sys
  4. if sys.version_info < (3,0):
  5. sys.exit('Sorry, Python < 3.0 is not supported')
  6. class BinaryDistribution(Distribution):
  7. """Distribution which always forces a binary package with platform name"""
  8. def has_ext_modules(foo):
  9. return True
  10. setup(
  11. name = 'pyLemma',
  12. version = '0.0.4',
  13. author = 'Trevor Irons and others',
  14. author_email = 'Trevor.Irons@lemmasoftware.org',
  15. description = 'A short description of the app/lib',
  16. long_description = 'A longer one',
  17. classifiers=[
  18. 'Development Status :: 3 - Alpha',
  19. 'Intended Audience :: Developers',
  20. 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
  21. 'Topic :: Scientific/Engineering',
  22. 'Programming Language :: Python :: 3',
  23. ],
  24. #packages = ['pyLemma.pyFDEM1D'],
  25. packages=find_packages(),
  26. #package_dir = {
  27. # '': '../'
  28. #},
  29. include_package_data=True,
  30. package_data = {
  31. #'pyLemma': ['pyFDEM1D.*.so']
  32. #'pyLemma.pyFDEM1D': ['pyFDEM1D.*.so']
  33. #'pyLemma.pyFDEM1D': ['pyFDEM1D.*.so']
  34. '': ['LemmaCore.*.so','FDEM1D.*.so']
  35. },
  36. zip_safe=False,
  37. distclass=BinaryDistribution,
  38. )
  39. #ext_modules=[CMakeExtension('proj_name')],
  40. #cmdclass=dict(build_ext=CMakeBuild),