2015-10-25 18:36:20 +03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
|
2015-10-25 19:29:43 +03:00
|
|
|
# Our version ALWAYS matches the version of Django we support
|
|
|
|
# If Django has a new release, we branch, tag, then update this setting after the tag.
|
2018-01-15 23:33:51 +03:00
|
|
|
version = '1.11.9'
|
2015-10-25 18:36:20 +03:00
|
|
|
|
|
|
|
if sys.argv[-1] == 'tag':
|
2016-04-13 00:23:00 +03:00
|
|
|
os.system('git tag -a %s -m "version %s"' % (version, version))
|
|
|
|
os.system('git push --tags')
|
2015-10-25 18:36:20 +03:00
|
|
|
sys.exit()
|
|
|
|
|
|
|
|
with open('README.rst') as readme_file:
|
|
|
|
long_description = readme_file.read()
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='cookiecutter-django',
|
|
|
|
version=version,
|
|
|
|
description='A Cookiecutter template for creating production-ready Django projects quickly.',
|
|
|
|
long_description=long_description,
|
|
|
|
author='Daniel Roy Greenfeld',
|
|
|
|
author_email='pydanny@gmail.com',
|
|
|
|
url='https://github.com/pydanny/cookiecutter-django',
|
|
|
|
packages=[],
|
|
|
|
license='BSD',
|
|
|
|
zip_safe=False,
|
|
|
|
classifiers=[
|
2015-10-25 19:30:19 +03:00
|
|
|
'Development Status :: 4 - Beta',
|
2015-10-25 18:36:20 +03:00
|
|
|
'Environment :: Console',
|
2016-09-15 06:59:26 +03:00
|
|
|
'Framework :: Django :: 1.10',
|
2015-10-25 18:36:20 +03:00
|
|
|
'Intended Audience :: Developers',
|
|
|
|
'Natural Language :: English',
|
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
'Programming Language :: Python',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.4',
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
|
|
'Programming Language :: Python :: Implementation :: PyPy',
|
|
|
|
'Topic :: Software Development',
|
|
|
|
],
|
|
|
|
keywords=(
|
|
|
|
'cookiecutter, Python, projects, project templates, django, '
|
|
|
|
'skeleton, scaffolding, project directory, setup.py'
|
|
|
|
),
|
|
|
|
)
|