-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
53 lines (46 loc) · 1.68 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
#!/usr/bin/env python
import pathlib
from importlib.machinery import SourceFileLoader
from setuptools import find_packages, setup
version = SourceFileLoader("version", "starlette_i18n/version.py").load_module()
_ROOT = pathlib.Path(__file__).parent
with open(str(_ROOT / "README.md")) as f:
readme = f.read()
CLASSIFIERS = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
"Operating System :: POSIX",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Environment :: Console",
"Intended Audience :: Developers",
]
setup(
name="starlette-i18n",
version=str(version.VERSION),
license="Apache License, Version 2.0",
description="Localisation helper for starlette",
long_description=readme,
long_description_content_type="text/markdown",
author="Pavel Liashkov",
author_email="[email protected]",
maintainer="Pavel Liashkov",
maintainer_email="[email protected]",
download_url="https://pypi.python.org/pypi/starlette-i18n",
url="https://github.com/bigbag/starlette-i18n",
platforms=["POSIX"],
classifiers=CLASSIFIERS,
python_requires=">=3.7",
install_requires=["starlette>=0.12,<1.0", "babel>=2.9,<3.0"],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="",
)