-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (28 loc) · 911 Bytes
/
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
from setuptools import setup, find_packages
import re
with open("README.md", "r") as f:
long_description = f.read()
with open("firi/__init__.py") as f:
version = re.search(
r"""^__version__\s*=\s*['"]([^\'"]*)['"]""", f.read(), re.MULTILINE
).group(1)
setup(
name="firi",
version=version,
author="offish",
author_email="[email protected]",
description="",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/offish/firi",
download_url="https://github.com/offish/firi/tarball/v" + version,
packages=["firi"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[],
python_requires=">=3.6",
)