-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (39 loc) · 1.46 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
import os
import setuptools
import json
wd = "C:\\Users\\addik\\PycharmProjects\\cry-vs\\" # replace with the absolute path to your project's root directory
with open(wd + "config.json", "r", encoding="utf-8") as f:
config = json.load(f)
version = config["version"]
with open(wd + "README.md", "r", encoding="utf-8") as fh:
long_description = fh.read() + "\n\n" + \
"""---\n""" + \
"""*found a bug? [Please make an issue!](https://github.com/AW1534/cry-vs)*"""
setuptools.setup(
name="cry-vs.py",
version=str(version),
author="addikted",
author_email="[email protected]",
description="A Crypto-Versus wrapper",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/AW1534/cry-vs.py",
project_urls={
"Documentation": "https://cry-vs-py.readthedocs.io/en/latest/",
"Bug Tracker": "https://github.com/AW1534/cry-vs.py/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Development Status :: 2 - Pre-Alpha",
"Natural Language :: English",
"Topic :: Internet :: WWW/HTTP"
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.6",
install_requires=[
"requests>=2.27.1"
]
)