-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
101 lines (85 loc) · 3.2 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import os
import sys
from setuptools import setup
VERSION = "1.1.2"
LONG_DESCRIPTION = """
.. image:: http://pinaxproject.com/pinax-design/patches/pinax-blank.svg
:target: https://pypi.python.org/pypi/pinax-cli/
============================
Pinax Command Line Interface
============================
.. image:: https://img.shields.io/pypi/v/pinax-cli.svg
:target: https://pypi.python.org/pypi/pinax-cli/
\
.. image:: https://img.shields.io/circleci/project/github/pinax/pinax-cli.svg
:target: https://circleci.com/gh/pinax/pinax-cli
.. image:: https://img.shields.io/codecov/c/github/pinax/pinax-cli.svg
:target: https://codecov.io/gh/pinax/pinax-cli
.. image:: https://img.shields.io/github/contributors/pinax/pinax-cli.svg
:target: https://github.com/pinax/pinax-cli/graphs/contributors
.. image:: https://img.shields.io/github/issues-pr/pinax/pinax-cli.svg
:target: https://github.com/pinax/pinax-cli/pulls
.. image:: https://img.shields.io/github/issues-pr-closed/pinax/pinax-cli.svg
:target: https://github.com/pinax/pinax-cli/pulls?q=is%3Apr+is%3Aclosed
\
.. image:: http://slack.pinaxproject.com/badge.svg
:target: http://slack.pinaxproject.com/
.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://pypi.python.org/pypi/pinax-cli/
\
``pinax-cli`` is a command-line interface for installing Pinax starter projects,
and learning more about available Pinax apps.
Supported Django and Python Versions
------------------------------------
+-----------------+-----+-----+-----+-----+
| Django / Python | 2.7 | 3.4 | 3.5 | 3.6 |
+=================+=====+=====+=====+=====+
| 1.11 | * | * | * | * |
+-----------------+-----+-----+-----+-----+
| 2.0 | | * | * | * |
+-----------------+-----+-----+-----+-----+
"""
# Publish Helper.
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
sys.exit()
setup(
author="Pinax Team",
author_email="team@pinaxproject.com",
description="a command line interface for Pinax",
name="pinax-cli",
long_description=LONG_DESCRIPTION,
version=VERSION,
url="http://github.com/pinax/pinax-cli/",
packages=["pinaxcli"],
license="MIT",
install_requires=[
"click>=6.7",
"crayons>=0.1.2",
'django==1.11; python_version == "2.7"',
'django>=2.0; python_version >= "3"',
"requests>=2.18.4",
],
entry_points={
"console_scripts": [
"pinax = pinaxcli.cli:main",
],
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries :: Python Modules",
],
zip_safe=False
)