2014-01-05 09:34:10 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
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:', '')
|
|
|
|
|
|
|
|
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-04-11 10:19:39 +00:00
|
|
|
'django-parler>1.0a1',
|
2014-03-29 22:10:06 +00:00
|
|
|
'django-cms>=3.0c1',
|
2014-02-03 17:49:29 +00:00
|
|
|
'django-taggit',
|
|
|
|
'django-filer',
|
|
|
|
'django-select2',
|
|
|
|
'pytz',
|
|
|
|
'django-taggit-templatetags',
|
|
|
|
'django-taggit-autosuggest',
|
|
|
|
'django-admin-enhancer',
|
2014-01-05 09:34:10 +00:00
|
|
|
],
|
2014-02-13 06:31:23 +00:00
|
|
|
dependency_links=[
|
2014-04-11 10:19:39 +00:00
|
|
|
'https://github.com/edoburu/django-parler/archive/master.zip#egg=django-parler-1.0',
|
2014-02-13 06:31:23 +00:00
|
|
|
],
|
2014-01-05 09:34:10 +00:00
|
|
|
license="BSD",
|
|
|
|
zip_safe=False,
|
|
|
|
keywords='djangocms-blog',
|
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
|
|
'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',
|
|
|
|
'Programming Language :: Python :: 3.3',
|
|
|
|
],
|
2014-02-03 17:49:29 +00:00
|
|
|
)
|