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.
 
 
 
 
 

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