Le repo des sources pour le site web des JM2L
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.5 KiB

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