-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
52 lines (46 loc) · 1.69 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# 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.
version = "1.2.0"
if sys.argv[-1] == "tag":
os.system(f'git tag -a {version} -m "version {version}"')
os.system("git push --tags")
sys.exit()
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(
name="tn-spa-bootstrapper",
version=version,
description="A Cookiecutter template for creating customizable Django projects quickly with the option of adding client side application (Vue or React).", # noqa
long_description=long_description,
author="ThinkNimble",
author_email="support@thinknimble.com",
url="https://github.com/thinknimble/tn-spa-bootstrapper",
packages=[],
license="Proprietary",
zip_safe=False,
classifiers=[
"Development Status :: 1 - Beta",
"Environment :: Console",
"Framework :: Django :: 4.2",
"Client Framework :: Vue",
"Intended Audience :: Thinknimble Developers",
"Natural Language :: English",
"License :: Proprietary License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py, django+vue, django+react"
),
)