-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (41 loc) · 1.33 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
import os
from setuptools import find_packages, setup
NAME = "url-matcher"
def get_version():
about = {}
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, NAME.replace("-", "_"), "__version__.py")) as f:
exec(f.read(), about)
return about["__version__"]
setup(
name=NAME,
version=get_version(),
description="URL matching rules library to connect URLs with resources",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
author="Zyte Group Ltd",
author_email="[email protected]",
url="https://github.com/zytedata/url-matcher",
packages=find_packages(
exclude=[
"tests",
]
),
python_requires=">=3.9",
install_requires=[
"tldextract>=1.2",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"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",
],
)