djangocms_blog/setup.py

77 lines
2.2 KiB
Python
Raw Normal View History

2014-01-05 09:34:10 +00:00
#!/usr/bin/env python
2015-01-04 16:59:20 +00:00
# -*- coding: utf-8 -*-
2014-01-05 09:34:10 +00:00
import os
import sys
import djangocms_blog
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = djangocms_blog.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
2014-01-05 09:34:10 +00:00
setup(
name='djangocms-blog',
version=version,
description='A djangoCMS 3 blog application',
long_description=readme + '\n\n' + history,
author='Iacopo Spalletti',
author_email='i.spalletti@nephila.it',
url='https://github.com/nephila/djangocms-blog',
2014-01-05 09:34:10 +00:00
packages=[
'djangocms_blog',
],
include_package_data=True,
install_requires=[
2014-12-03 18:54:16 +00:00
'django-parler>=1.2',
2014-04-19 17:18:42 +00:00
'django-cms>=3.0',
2014-02-03 17:49:29 +00:00
'django-taggit',
'django-filer',
'pytz',
'django-taggit-templatetags',
'django-taggit-autosuggest',
'django-admin-enhancer',
2014-06-08 22:05:23 +00:00
'djangocms-text-ckeditor',
2014-06-09 06:38:37 +00:00
'cmsplugin-filer',
2014-09-21 15:45:10 +00:00
'django-meta>=0.2',
'django-meta-mixin>=0.1.1',
2015-01-01 17:51:45 +00:00
'south>=1.0.1',
2014-02-13 06:31:23 +00:00
],
extras_require={
":python_version=='3.3'": ['django-select2-py3'],
":python_version=='3.4'": ['django-select2-py3'],
":python_version=='2.6'": ['django-select2'],
":python_version=='2.7'": ['django-select2'],
},
2014-01-05 09:34:10 +00:00
license="BSD",
zip_safe=False,
2014-04-27 00:59:21 +00:00
keywords='djangocms-blog, blog, django, wordpress, multilingual',
2015-01-01 17:51:45 +00:00
test_suite='cms_helper.run',
2014-01-05 09:34:10 +00:00
classifiers=[
2014-08-14 06:53:49 +00:00
'Development Status :: 4 - Beta',
2014-01-05 09:34:10 +00:00
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
2014-12-10 19:24:20 +00:00
'Programming Language :: Python :: 3.4',
2014-01-05 09:34:10 +00:00
],
2014-02-03 17:49:29 +00:00
)