forked from dprog-philippe-docourt/django-qr-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (36 loc) · 1.44 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
import re
from setuptools import setup
# Get version without importing
with open("qr_code/__init__.py", "rb") as f:
VERSION = str(re.search('__version__ = "(.+?)"', f.read().decode("utf-8")).group(1))
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("LICENSE", "r", encoding="utf-8") as fh:
license = fh.read()
setup(
name="django-qr-code",
version=VERSION,
packages=["qr_code", "qr_code.qrcode", "qr_code.templatetags"],
url="https://github.com/dprog-philippe-docourt/django-qr-code",
license="BSD 3-clause",
author="Philippe Docourt",
author_email="[email protected]",
maintainer="Philippe Docourt",
description="An application that provides tools for displaying QR codes on your Django site.",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=["segno>=1.5", "django>=3.2", "pytz", "pydantic"],
python_requires=">=3.7",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.0",
"Natural Language :: English",
],
keywords="qr code django",
)