Le repo des sources pour le site web des JM2L
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

setup.py 1.5 KiB

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