-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
45 lines (35 loc) · 1.22 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
from setuptools import setup, find_packages
import os
version = os.getenv("VERSION").split("/")[-1][1:]
name = os.getenv("NAME")
with open('requirements.txt') as file:
requirements = file.read().splitlines()
with open('README.md') as file:
readme = file.read()
kwargs = {
"author": 'cerusabi',
"url": 'https://github.com/cerusabi/blurple.py',
"project_urls": {
"Issues": "https://github.com/cerusabi/blurple.py/issues",
"Docs": "https://lepto.tech/blurple.py",
},
"version": version,
"packages": find_packages(),
"license": 'MIT',
"description": 'A front-end framework for discord.py',
"long_description": readme,
"long_description_content_type": "text/markdown",
"include_package_data": True,
"install_requires": requirements,
"classifiers": [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Natural Language :: English',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities',
]
}
setup(name=name, **kwargs)