Add basic setup.py

master
Lertsenem 2020-07-20 23:54:59 +02:00
parent 6e2d697e12
commit e9f8bac22c
1 changed files with 43 additions and 0 deletions

43
setup.py Normal file
View File

@ -0,0 +1,43 @@
import setuptools
import lokrez, lokrez.version
with open("README.adoc", "r") as fh:
long_description = fh.read()
setuptools.setup(
name = lokrez.version.NAME,
version = lokrez.__version__,
author = "Lertsenem",
author_email = "lertsenem@lertsenem.com",
description = "A smash.gg-connected local results generator for SSBU",
long_description = long_description,
long_description_content_type = "text/asciidoc",
url = "https://git.lertsenem.com/lertsenem/ssbu_lokrez",
packages = setuptools.find_packages(),
install_requires = [
"jinja2",
"requests",
],
license = "MIT",
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Smash Bros Ultimate Players",
],
python_requires = ">=3.5",
keywords = "smash ultimate local results esport smashgg",
# data_files = ("res", ["res/playerskinsdb.json"])
package_data = {
"lokrez": [
"queries/*.gql",
"data/*.json",
],
},
entry_points = {
"console_scripts": [
"lokrez = lokrez:main",
],
},
)