Le repo des sources pour le site web des JM2L
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

71 linhas
1.7 KiB

  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',
  28. 'pyramid_mailer',
  29. 'apscheduler',
  30. 'qrcode',
  31. 'reportlab',
  32. 'passlib',
  33. 'argon2_cffi',
  34. 'paginate',
  35. 'markupsafe',
  36. 'webhelpers2',
  37. 'email_validator',
  38. 'pyramid-scheduler'
  39. ]
  40. setup(name='JM2L',
  41. version='0.1',
  42. description='JM2L',
  43. long_description=README + '\n\n' + CHANGES,
  44. classifiers=[
  45. "Programming Language :: Python",
  46. "Framework :: Pyramid",
  47. "Topic :: Internet :: WWW/HTTP",
  48. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  49. ],
  50. author='tr4ck3ur',
  51. author_email='tr4ck3ur@style-python.fr',
  52. url='http://www.style-python.fr',
  53. keywords='web wsgi bfg pylons pyramid',
  54. packages=find_packages(),
  55. include_package_data=True,
  56. zip_safe=False,
  57. test_suite='jm2l',
  58. install_requires=requires,
  59. entry_points="""\
  60. [paste.app_factory]
  61. main = jm2l:main
  62. [console_scripts]
  63. initialize_JM2L_db = jm2l.scripts.initializedb:main
  64. """,
  65. )