-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
65 lines (61 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
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python3
import os
import os.path
from os.path import dirname, join
from setuptools import setup, find_packages
from pathlib import Path
readme = Path(__file__).parent / "README.md"
# Keep these alphabetical, if possible
deps = [
"addict>=2",
"alive-progress>=2",
"anytree",
"appdirs",
"asteval",
"bitarray>=1.5.0",
"docopt",
"jinja2",
"more-itertools",
"patricia-trie>=10",
"pyyaml>=3.10",
]
bdeps = [
'setuptools-scm>=3.3.0',
'wheel',
]
tdeps = [
'pytest-subtests',
'tox',
]
scmver = {
'write_to': 'src/romtool/version.py',
'fallback_version': 'UNKNOWN',
}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules"
]
setup(name="romtool",
packages=find_packages("src") + ['romtool.maps'],
package_dir={'': "src"},
include_package_data=True,
install_requires=deps,
setup_requires=bdeps,
tests_require=tdeps,
use_scm_version=scmver,
author="Andrew Vant",
author_email="ajvant@gmail.com",
description="Library and tool for manipulating video game ROMs.",
long_description=readme.read_text(),
long_description_content_type='text/markdown',
classifiers=classifiers,
zip_safe=False,
keywords="rom roms snes",
url="https://github.com/andrew-vant/romlib",
test_suite="tests",
entry_points={"console_scripts": ["romtool = romtool.cli:main"]},
)