generated from nhymxu/.github
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
38 lines (35 loc) · 1.39 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
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
project_name = "django-floc-disable"
long_description = (here / 'README.md').read_text(encoding='utf-8')
version = open(here / "django_floc_disable/_version.py").readlines()[-1].split()[-1].strip("\"'")
setup(
name=project_name,
version=version,
description="Django middleware to disable Google FLoC tracking",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nhymxu/django-floc-disable",
author="Dung Nguyen",
project_urls={
"Bug Tracker": "https://github.com/nhymxu/django-floc-disable/issues",
"Funding": "https://dungnt.net/donate.html",
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'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',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3 :: Only',
],
package_dir={project_name: project_name},
packages=find_packages(),
python_requires=">=3.8",
install_requires=['Django'],
)