-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (35 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
from os.path import abspath
from os.path import dirname
from os.path import join
from re import MULTILINE
from re import search
from textwrap import dedent
from setuptools import setup
here = abspath(dirname(__file__))
with open(join(here, "uxspoilers.py"), encoding="utf-8") as fp:
version = search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fp.read(), MULTILINE).group(1)
with open(join(here, "README.md"), encoding="utf-8") as fp:
long_description = fp.read()
setup(name="proxy.py-uxspoilers-plugin",
version=version,
py_modules=['uxspoilers'],
python_requires=">=3",
install_requires=["proxy.py>=2.3.0"],
author="Youhei Sakurai",
author_email="[email protected]",
maintainer="Youhei Sakurai",
maintainer_email="[email protected]",
url="https://github.com/sakurai-youhei/proxy.py-uxspoilers-plugin",
license="MIT",
description=long_description.splitlines()[1],
long_description=long_description,
long_description_content_type="text/markdown",
platforms="any",
classifiers=dedent("""\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
""").splitlines())