Le repo des sources pour le site web des JM2L
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.6 KiB

il y a 9 ans
il y a 9 ans
il y a 9 ans
il y a 9 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import os
  2. from setuptools import setup, find_packages
  3. here = os.path.abspath(os.path.dirname(__file__))
  4. with open(os.path.join(here, 'README.txt')) as f:
  5. README = f.read()
  6. with open(os.path.join(here, 'CHANGES.txt')) as f:
  7. CHANGES = f.read()
  8. ## Do not forget to run for lxml dependencies
  9. ## apt-get install libxml2-dev libxslt1-dev
  10. requires = [
  11. 'pyramid',
  12. 'pyramid_chameleon',
  13. 'pyramid_debugtoolbar',
  14. 'pyramid_tm',
  15. 'SQLAlchemy',
  16. 'transaction',
  17. 'zope.sqlalchemy',
  18. 'waitress',
  19. 'wtforms',
  20. 'webhelpers',
  21. 'lxml',
  22. 'python-slugify',
  23. 'icalendar',
  24. 'python-magic',
  25. 'Pillow',
  26. 'pyramid_exclog',
  27. 'repoze.sendmail==4.1',
  28. 'pyramid_mailer',
  29. 'apscheduler',
  30. 'qrcode',
  31. 'reportlab',
  32. 'passlib',
  33. 'argon2_cffi'
  34. ]
  35. setup(name='JM2L',
  36. version='0.1',
  37. description='JM2L',
  38. long_description=README + '\n\n' + CHANGES,
  39. classifiers=[
  40. "Programming Language :: Python",
  41. "Framework :: Pyramid",
  42. "Topic :: Internet :: WWW/HTTP",
  43. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  44. ],
  45. author='tr4ck3ur',
  46. author_email='tr4ck3ur@style-python.fr',
  47. url='http://www.style-python.fr',
  48. keywords='web wsgi bfg pylons pyramid',
  49. packages=find_packages(),
  50. include_package_data=True,
  51. zip_safe=False,
  52. test_suite='jm2l',
  53. install_requires=requires,
  54. entry_points="""\
  55. [paste.app_factory]
  56. main = jm2l:main
  57. [console_scripts]
  58. initialize_JM2L_db = jm2l.scripts.initializedb:main
  59. """,
  60. )