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.
|
2021-02-06 19:56:50 +03:00
|
|
|
version = "3.0.12"
|
2015-10-25 18:36:20 +03:00
|
|
|
|
2018-04-09 01:03:29 +03:00
|
|
|
if sys.argv[-1] == "tag":
|
2019-05-12 23:55:22 +03:00
|
|
|
os.system(f'git tag -a {version} -m "version {version}"')
|
2018-04-09 01:03:29 +03:00
|
|
|
os.system("git push --tags")
|
2015-10-25 18:36:20 +03:00
|
|
|
sys.exit()
|
|
|
|
|
2018-04-09 01:03:29 +03:00
|
|
|
with open("README.rst") as readme_file:
|
2015-10-25 18:36:20 +03:00
|
|
|
long_description = readme_file.read()
|
|
|
|
|
|
|
|
setup(
|
2018-04-09 01:03:29 +03:00
|
|
|
name="cookiecutter-django",
|
2015-10-25 18:36:20 +03:00
|
|
|
version=version,
|
2018-04-09 01:03:29 +03:00
|
|
|
description="A Cookiecutter template for creating production-ready Django projects quickly.",
|
2015-10-25 18:36:20 +03:00
|
|
|
long_description=long_description,
|
2018-04-09 01:03:29 +03:00
|
|
|
author="Daniel Roy Greenfeld",
|
|
|
|
author_email="pydanny@gmail.com",
|
|
|
|
url="https://github.com/pydanny/cookiecutter-django",
|
2015-10-25 18:36:20 +03:00
|
|
|
packages=[],
|
2018-04-09 01:03:29 +03:00
|
|
|
license="BSD",
|
2015-10-25 18:36:20 +03:00
|
|
|
zip_safe=False,
|
|
|
|
classifiers=[
|
2018-04-09 01:03:29 +03:00
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Console",
|
2020-03-24 00:41:51 +03:00
|
|
|
"Framework :: Django :: 3.0",
|
2018-04-09 01:03:29 +03:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"License :: OSI Approved :: BSD License",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
2020-03-29 20:55:27 +03:00
|
|
|
"Programming Language :: Python :: 3.8",
|
2018-04-09 01:03:29 +03:00
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
|
|
"Topic :: Software Development",
|
2015-10-25 18:36:20 +03:00
|
|
|
],
|
|
|
|
keywords=(
|
2018-04-09 01:03:29 +03:00
|
|
|
"cookiecutter, Python, projects, project templates, django, "
|
|
|
|
"skeleton, scaffolding, project directory, setup.py"
|
2015-10-25 18:36:20 +03:00
|
|
|
),
|
|
|
|
)
|