djangocms_blog/setup.py

79 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')
2015-07-18 14:51:41 +00:00
print('You probably want to also tag the version now:')
print(' git tag -a %s -m "version %s"' % (version, version))
print(' git push --tags')
2014-01-05 09:34:10 +00:00
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',
'django-taggit>=0.12.2',
2014-02-03 17:49:29 +00:00
'django-filer',
'pytz',
'django-taggit-templatetags',
'django-taggit-autosuggest',
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-09-19 23:11:14 +00:00
'aldryn-apphooks-config',
2014-02-13 06:31:23 +00:00
],
2015-07-18 14:51:41 +00:00
license='BSD',
2014-01-05 09:34:10 +00:00
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',
2015-07-19 07:37:26 +00:00
extras_require={
'admin-enhancer': ['django-admin-enhancer'],
},
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',
'Framework :: Django',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
2015-07-19 08:23:11 +00:00
'Framework :: Django :: 1.8',
2015-07-18 14:51:41 +00:00
'Programming Language :: Python :: 2',
2014-01-05 09:34:10 +00:00
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
2015-07-18 14:51:41 +00:00
'Programming Language :: Python :: 3',
'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
)