forked from danhper/python-i18n
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
46 lines (42 loc) · 1.31 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
import re
from setuptools import setup
GITHUB_URL = "https://github.com/solaluset/i18nice"
long_description = open("README.md", encoding="utf8").read()
# links on PyPI should have absolute URLs
long_description = re.sub(
r"(\[[^\]]+\]\()((?!https?:)[^\)]+\))",
f"\\1{GITHUB_URL}/blob/master/\\2",
long_description,
)
setup(
name='i18nice',
version="0.15.5",
description='Translation library for Python',
long_description=long_description,
long_description_content_type='text/markdown',
author='Daniel Perez',
author_email='tuvistavie@gmail.com',
maintainer="Sola Luset",
url=GITHUB_URL,
download_url=GITHUB_URL + "/archive/master.zip",
license='MIT',
packages=['i18n', 'i18n.loaders'],
package_data={
"": ["py.typed"],
},
zip_safe=True,
test_suite='i18n.tests',
extras_require={
'YAML': ["pyyaml>=3.10"],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Internationalization',
],
)