-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
53 lines (49 loc) · 1.64 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
46
47
48
49
50
51
52
53
from distutils.core import setup
from setuptools import find_packages
import re
with open("README.md", "r") as readme:
long_description = readme.read()
# https://stackoverflow.com/a/7071358
VERSION = "Unknown"
VERSION_RE = r"^__version__ = ['\"]([^'\"]*)['\"]"
with open("circleguard/version.py") as f:
match = re.search(VERSION_RE, f.read())
if match:
VERSION = match.group(1)
else:
raise RuntimeError("Unable to find version string in circleguard/version.py")
setup(
name="circleguard",
version=VERSION,
description="A utilities library for osu!. Provides support for parsing "
"replays from a file or from the api, as well as support for unstable "
"rate, hits, similarity, and frametime calculations.",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
keywords = ["osu!, python, cheat-detection, replay-stealing, remodding"],
author="Liam DeVoe",
author_email="orionldevoe@gmail.com",
url="https://github.com/circleguard/circlecore",
download_url = "https://github.com/circleguard/circlecore/tarball/v" + VERSION,
packages=find_packages(),
install_requires=[
"osrparse~=6.0",
"ossapi>=3.0.0,<5.0.0",
"wtc==1.2.1",
"numpy",
"requests",
"slider>=0.5.1",
"scipy"
],
extras_require={
"graphing": [
"matplotlib"
]
}
)