-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
65 lines (60 loc) · 2.81 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
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python3
# --------------------------------------------------------------------
# Copyright (C) Oliver 'kfsone' Smith 2014 <[email protected]>:
# Copyright (C) Bernd 'Gazelle' Gollesch 2016, 2017
# Copyright (C) Jonathan 'eyeonus' Jones 2018, 2019
#
# You are free to use, redistribute, or even print and eat a copy of
# this software so long as you include this copyright notice.
# I guarantee there is at least one bug neither of us knew about.
# --------------------------------------------------------------------
"""Setup for trade-dangerous"""
import sys
from setuptools import setup, find_packages
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
pass
with open("README.md", "r") as fh:
long_description = fh.read()
package = "tradedangerous"
exec(open("tradedangerous/version.py").read()) # pylint: disable=W0122
setup(name = package,
version = __version__, # pylint: disable=E0602
install_requires = ["requests", "appJar", "ijson", "rich"],
setup_requires = ["pytest-runner"],
tests_require = ["pytest"],
packages = ['.', 'tradedangerous', 'tradedangerous.commands', 'tradedangerous.mfd', 'tradedangerous.mfd.saitek', 'tradedangerous.misc', 'tradedangerous.plugins'],
url = "https://github.com/eyeonus/Trade-Dangerous",
project_urls = {
"Bug Tracker": "https://github.com/eyeonus/Trade-Dangerous/issues",
"Documentation": "https://github.com/eyeonus/Trade-Dangerous/wiki",
"Source Code": "https://github.com/eyeonus/Trade-Dangerous",
},
author = "eyeonus",
author_email = "[email protected]",
description = "Trade-Dangerous is a set of powerful trading tools for Elite Dangerous, organized around one of the most powerful trade run optimizers available.",
long_description = long_description,
long_description_content_type = "text/markdown",
keywords = ["trade", "elite", "elite-dangerous"],
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Operating System :: OS Independent",
],
license = "MPL",
test_suite = "tests",
package_data = {"tradedangerous": ["templates/TradeDangerous.sql", "templates/Added.csv", "templates/Category.csv", "templates/RareItem.csv", "templates/database_changes.json"]},
entry_points = {
"console_scripts": [
"trade=trade:main",
"tradegui=tradegui:main"
]
},
zip_safe = False
)