Le repo des sources pour le site web des JM2L
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 
 

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