forked from QueraTeam/pytracking
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
55 lines (47 loc) · 1.75 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
from itertools import chain
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
EXTRA_REQUIRES = {
"test": ["tox", "pytest", "pytest-django"],
"webhook": ["requests>=2.10.0"],
"html": ["lxml>=4.4.0"],
"crypto": ["cryptography>=2.0.0"],
"django": ["django-ipware>=2.0.0", "django>=4.2"],
}
ALL_REQUIRE = list(chain(*EXTRA_REQUIRES.values()))
EXTRA_REQUIRES["all"] = ALL_REQUIRE
setup(
name="pytracking2",
version="0.4.6",
description="Email open and click tracking",
long_description=long_description,
url="https://github.com/xelixdev/pytracking",
author="Mikuláš Poul",
author_email="mikulas.poul@xelix.com",
license="New BSD",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Communications :: Email",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="email open click tracking",
packages=find_packages(".", include=("pytracking", "pytracking.*")),
extras_require=EXTRA_REQUIRES,
python_requires=">=3.8",
)