-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (31 loc) · 1006 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
_requirements = [i.strip() for i in f.readlines()]
requirements = []
for req in _requirements:
if "://" in req:
name = req.split('/')[-1].split(".")[0]
req = f"{name} @ {req}"
requirements.append(req)
setuptools.setup(
name="MFramework",
version="1.0.0",
author="Mmesek",
description="Command framework for mDiscord",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Mmesek/MFramework.py",
project_urls={
"Bug Tracker": "https://github.com/Mmesek/MFramework.py/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=requirements,
package_dir={"": "."},
packages=setuptools.find_packages(where="."),
python_requires=">=3.9",
)