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-12-10 11:46:04 +00:00
|
|
|
|
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',
|
2014-03-29 22:10:06 +00:00
|
|
|
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',
|
2015-02-26 20:36:22 +00:00
|
|
|
'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',
|
2015-08-22 20:35:30 +00:00
|
|
|
'django-meta-mixin>=0.2.1',
|
|
|
|
'aldryn-apphooks-config>=0.2.6',
|
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',
|
2015-06-28 09:38:16 +00:00
|
|
|
'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',
|
2014-12-10 11:46:04 +00:00
|
|
|
'Programming Language :: Python :: 3.3',
|
2014-12-10 19:24:20 +00:00
|
|
|
'Programming Language :: Python :: 3.4',
|
2015-10-17 16:11:57 +00:00
|
|
|
'Programming Language :: Python :: 3.5',
|
2014-01-05 09:34:10 +00:00
|
|
|
],
|
2014-02-03 17:49:29 +00:00
|
|
|
)
|