Skip to content
This repository
Newer
Older
100644 70 lines (60 sloc) 1.942 kb
872b31fa »
2009-07-25 Added a setup.py to be able to install django-cms with easy_install, …
1 from setuptools import setup, find_packages
0f1bf723 »
2013-04-02 no import for setup.py
2 import sys
3
a0406421 »
2011-08-04 Updated MANIFEST.in and setup.py to reflect the staticfiles changes
4 import os
0f1bf723 »
2013-04-02 no import for setup.py
5 import re
6
7
8 def get_version(package):
9 """
10 Return package version as listed in `__version__` in `init.py`.
11 """
12 init_py = open(os.path.join(package, '__init__.py')).read()
b1c2c905 »
2013-05-30 fixed version extraction
13 return re.search("__version__\s*=\s*(.*)", init_py).group(1)[1:-1]
0f1bf723 »
2013-04-02 no import for setup.py
14
15
16 version = get_version('cms')
17
18 if sys.argv[-1] == 'publish':
19 os.system("python setup.py sdist upload")
20 print("You probably want to also tag the version now:")
21 print(" git tag -a %s -m 'version %s'" % (version, version))
22 print(" git push --tags")
23 sys.exit()
aada1b49 »
2009-09-24 Changed setup to copy media files to the django-cms installation dire…
24
fec4dfcd »
2011-06-14 Changed version to 2.2.dev0 to comply with PEP0386, this is NOT a rel…
25 CLASSIFIERS = [
ae22731f »
2011-09-18 change trove classifier from beta to production. (http://pypi.python.…
26 'Development Status :: 5 - Production/Stable',
6fba0e25 »
2010-05-14 changed setup.py to use the proper classifiers
27 'Environment :: Web Environment',
28 'Framework :: Django',
29 'Intended Audience :: Developers',
30 'License :: OSI Approved :: BSD License',
31 'Operating System :: OS Independent',
32 'Programming Language :: Python',
33 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
34 'Topic :: Software Development',
35 'Topic :: Software Development :: Libraries :: Application Frameworks',
36 ]
52a79a14 »
2010-02-04 Added code to handle all the wonderful media files when creating a so…
37
872b31fa »
2009-07-25 Added a setup.py to be able to install django-cms with easy_install, …
38 setup(
407a6709 »
2009-10-08 merge
39 author="Patrick Lauber",
40 author_email="digi@treepy.com",
1cc8ac1c »
2010-10-18 fixed setup.py
41 name='django-cms',
0f1bf723 »
2013-04-02 no import for setup.py
42 version=version,
872b31fa »
2009-07-25 Added a setup.py to be able to install django-cms with easy_install, …
43 description='An Advanced Django CMS',
927ef436 »
2011-01-18 python packaging is annoying...
44 long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
5c50b1a1 »
2011-06-09 fixing some https issues and use https whenever possible
45 url='https://www.django-cms.org/',
407a6709 »
2009-10-08 merge
46 license='BSD License',
47 platforms=['OS Independent'],
6fba0e25 »
2010-05-14 changed setup.py to use the proper classifiers
48 classifiers=CLASSIFIERS,
8a56786e »
2010-12-08 Switched to classy tags for readability and sanity
49 install_requires=[
da24cf9e »
2012-06-12 multi dependencies, oh my!
50 'Django>=1.3.1,<1.5',
68a53908 »
2011-08-11 Moved to newer classytags
51 'django-classy-tags>=0.3.4.1',
ace75c01 »
2011-01-10 Added dependency on South to setup.py
52 'south>=0.7.2',
9ca7738b »
2011-08-24 Added html5lib powered html cleaning to text plugin (in form) and tes…
53 'html5lib',
252b30a3 »
2012-08-22 pinned down version of mptt to 0.5.1 or 0.5.2
54 'django-mptt>=0.5.1,<0.5.3',
5f1a70e7 »
2013-05-20 Update required django-sekizai version to 0.7 due to backport of #1577
55 'django-sekizai>=0.7',
407a6709 »
2009-10-08 merge
56 ],
fc1306c1 »
2012-06-08 setup.py test anyone?
57 tests_require=[
c41c02f3 »
2012-06-08 updated tests_require in setup.py
58 'django-reversion==1.6',
fc1306c1 »
2012-06-08 setup.py test anyone?
59 'Pillow==1.7.7',
c41c02f3 »
2012-06-08 updated tests_require in setup.py
60 'Sphinx==1.1.3',
61 'Jinja2==2.6',
62 'Pygments==1.5',
63
fc1306c1 »
2012-06-08 setup.py test anyone?
64 ],
0f1bf723 »
2013-04-02 no import for setup.py
65 packages=find_packages(),
d0dd166f »
2011-05-20 Fixed failing tests
66 include_package_data=True,
0f1bf723 »
2013-04-02 no import for setup.py
67 zip_safe=False,
68 test_suite='runtests.main',
872b31fa »
2009-07-25 Added a setup.py to be able to install django-cms with easy_install, …
69 )
Something went wrong with that request. Please try again.