Le repo des sources pour le site web des JM2L
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

setup.py 1.3 KiB

9 yıl önce
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. ]
  26. setup(name='JM2L',
  27. version='0.0',
  28. description='JM2L',
  29. long_description=README + '\n\n' + CHANGES,
  30. classifiers=[
  31. "Programming Language :: Python",
  32. "Framework :: Pyramid",
  33. "Topic :: Internet :: WWW/HTTP",
  34. "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
  35. ],
  36. author='',
  37. author_email='',
  38. url='',
  39. keywords='web wsgi bfg pylons pyramid',
  40. packages=find_packages(),
  41. include_package_data=True,
  42. zip_safe=False,
  43. test_suite='jm2l',
  44. install_requires=requires,
  45. entry_points="""\
  46. [paste.app_factory]
  47. main = jm2l:main
  48. [console_scripts]
  49. initialize_JM2L_db = jm2l.scripts.initializedb:main
  50. """,
  51. )