-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
executable file
·41 lines (35 loc) · 1.25 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
"""Setup module for PyPI / pip integration.
"""
import imp
import setuptools
with open("readme.md", encoding="utf-8") as file:
LONG_DESCRIPTION = file.read()
with open("cutie.py", encoding="utf-8") as file:
# only go to first import since that module is not yet installed
CUTIE_CONTENTS = file.read().split("import")[0]
cutie = imp.new_module("cutie")
exec(CUTIE_CONTENTS, cutie.__dict__)
setuptools.setup(
name="cutie",
version=cutie.__version__,
author=cutie.__author__,
author_email="[email protected]",
description=cutie.__doc__,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/kamik423/cutie",
py_modules=["cutie"],
license=cutie.__license__,
install_requires=["colorama", "readchar!=3.0.5"],
python_requires=">=3.6",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)