2019-09-20 15:40:56 +00:00
|
|
|
import sys
|
|
|
|
import distutils.cmd
|
|
|
|
import distutils.log
|
|
|
|
from setuptools import find_packages, setup
|
2019-07-14 22:43:57 +00:00
|
|
|
from setuptools_rust import Binding, RustExtension, Strip
|
|
|
|
|
2019-09-20 15:40:56 +00:00
|
|
|
with open("README.md", "r") as fh:
|
|
|
|
long_description = fh.read()
|
|
|
|
|
2019-07-14 22:43:57 +00:00
|
|
|
setup(
|
|
|
|
name="ed_lrr_gui",
|
2019-10-23 09:35:54 +00:00
|
|
|
version_format="{tag}.dev{commitcount}+{gitsha}",
|
2019-07-14 22:43:57 +00:00
|
|
|
author="Daniel Seiller",
|
|
|
|
author_email="earthnuker@gmail.com",
|
2019-09-20 15:40:56 +00:00
|
|
|
description="Elite: Dangerous long range route plotter",
|
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type="text/markdown",
|
2019-07-14 22:43:57 +00:00
|
|
|
url="none yet",
|
|
|
|
rust_extensions=[
|
|
|
|
RustExtension(
|
|
|
|
"_ed_lrr",
|
|
|
|
path="rust/Cargo.toml",
|
|
|
|
binding=Binding.PyO3,
|
2020-02-05 23:24:24 +00:00
|
|
|
rustc_flags=["--emit=asm"],
|
2019-09-28 13:43:48 +00:00
|
|
|
strip=Strip.No,
|
2019-09-28 17:29:30 +00:00
|
|
|
debug=False,
|
2019-07-14 22:43:57 +00:00
|
|
|
native=True,
|
|
|
|
)
|
|
|
|
],
|
2019-08-31 21:41:51 +00:00
|
|
|
packages=find_packages(),
|
2019-10-23 09:35:54 +00:00
|
|
|
entry_points={"console_scripts": ["ed_lrr = ed_lrr_gui.__main__:main"]},
|
2019-08-04 22:05:44 +00:00
|
|
|
install_requires=[
|
|
|
|
"appdirs",
|
|
|
|
"PyYAML",
|
|
|
|
"requests",
|
|
|
|
"python-dateutil",
|
|
|
|
"pyperclip",
|
2019-09-20 15:40:56 +00:00
|
|
|
"click",
|
2019-09-28 13:43:48 +00:00
|
|
|
"tqdm",
|
2019-09-20 15:40:56 +00:00
|
|
|
"PyQt5",
|
2019-09-28 13:43:48 +00:00
|
|
|
"click-default-group",
|
|
|
|
"profig",
|
2020-02-05 23:24:24 +00:00
|
|
|
"ujson",
|
2019-10-23 09:35:54 +00:00
|
|
|
"colorama",
|
|
|
|
"svgwrite",
|
2019-09-20 15:40:56 +00:00
|
|
|
],
|
|
|
|
setup_requires=[
|
|
|
|
"setuptools",
|
|
|
|
"setuptools-rust",
|
|
|
|
"wheel",
|
|
|
|
"pytest-runner",
|
2019-10-23 09:35:54 +00:00
|
|
|
"setuptools-git-version",
|
2019-09-20 15:40:56 +00:00
|
|
|
],
|
|
|
|
extras_require={
|
2020-02-05 23:24:24 +00:00
|
|
|
"test": ["pytest", "pytest-cov", "pytest-dependency"],
|
|
|
|
"dev": ["black", "jinja2", "tsp"],
|
2019-10-23 09:35:54 +00:00
|
|
|
"web": [
|
|
|
|
"flask",
|
2020-02-05 23:24:24 +00:00
|
|
|
"gevent",
|
2019-10-23 09:35:54 +00:00
|
|
|
"webargs",
|
2020-02-05 23:24:24 +00:00
|
|
|
"flask-executor",
|
|
|
|
"flask-wtf",
|
|
|
|
"flask-user",
|
|
|
|
"flask-debugtoolbar",
|
|
|
|
"flask-bootstrap4",
|
2019-10-23 09:35:54 +00:00
|
|
|
"flask-sqlalchemy",
|
2020-02-05 23:24:24 +00:00
|
|
|
"flask-nav",
|
|
|
|
"flask-admin",
|
|
|
|
"sqlalchemy_utils[password]",
|
2019-10-23 09:35:54 +00:00
|
|
|
],
|
2019-09-20 15:40:56 +00:00
|
|
|
},
|
|
|
|
classifiers=[
|
|
|
|
"License :: OSI Approved :: MIT License",
|
2019-10-23 09:35:54 +00:00
|
|
|
"Programming Language :: Rust",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
2019-09-20 15:40:56 +00:00
|
|
|
"Operating System :: OS Independent",
|
2019-08-04 22:05:44 +00:00
|
|
|
],
|
2019-07-21 23:55:38 +00:00
|
|
|
include_package_data=True,
|
2019-07-14 22:43:57 +00:00
|
|
|
zip_safe=False,
|
|
|
|
)
|