Le repo des sources pour le site web des JM2L
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

9 年前
4 年前
9 年前
9 年前
9 年前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. ]
  37. setup(name='JM2L',
  38. version='0.1',
  39. description='JM2L',
  40. long_description=README + '\n\n' + CHANGES,
  41. classifiers=[
  42. "Programming Language :: Python",
  43. "Framework :: Pyramid",
  44. "Topic :: Internet :: WWW/HTTP",
  45. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  46. ],
  47. author='tr4ck3ur',
  48. author_email='tr4ck3ur@style-python.fr',
  49. url='http://www.style-python.fr',
  50. keywords='web wsgi bfg pylons pyramid',
  51. packages=find_packages(),
  52. include_package_data=True,
  53. zip_safe=False,
  54. test_suite='jm2l',
  55. install_requires=requires,
  56. entry_points="""\
  57. [paste.app_factory]
  58. main = jm2l:main
  59. [console_scripts]
  60. initialize_JM2L_db = jm2l.scripts.initializedb:main
  61. """,
  62. )