-
Notifications
You must be signed in to change notification settings - Fork 172
/
setup.py
executable file
·30 lines (27 loc) · 975 Bytes
/
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
import re
from setuptools import setup
# get version without importing
with open("extra_views/__init__.py", "rb") as f:
VERSION = str(re.search('__version__ = "(.+?)"', f.read().decode("utf-8")).group(1))
setup(
name="django-extra-views",
version=VERSION,
url="https://github.com/AndrewIngram/django-extra-views",
install_requires=["Django >=2.1"],
python_requires=">=3.5",
description="Extra class-based views for Django",
long_description=open("README.rst", "r").read(),
license="MIT",
author="Andrew Ingram",
author_email="[email protected]",
packages=["extra_views", "extra_views.contrib"],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
)