-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
45 lines (43 loc) · 1.79 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
import pathlib
import setuptools
project_root: pathlib.Path = pathlib.Path(__file__).resolve().parent
setuptools.setup(
name="MTGSQLite",
version="0.3",
author="Zach Halpern",
author_email="[email protected]",
url="https://github.com/mtgjson/mtgsqlive/",
description="Convert MTGJSON files into alternative formats",
long_description=project_root.joinpath("README.md").open(encoding="utf-8").read(),
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python",
"Topic :: Database",
"Topic :: Software Development :: Version Control :: Git",
],
keywords="Magic: The Gathering, MTG, JSON, Card Games, Collectible, Trading Cards",
include_package_data=True,
packages=setuptools.find_packages(),
install_requires=project_root.joinpath("requirements.txt")
.open(encoding="utf-8")
.readlines()
if project_root.joinpath("requirements.txt").is_file()
else [], # Use the requirements file, if able
)