67 lines
1.7 KiB
Python
67 lines
1.7 KiB
Python
import sys
|
|
import distutils.cmd
|
|
import distutils.log
|
|
from setuptools import find_packages, setup
|
|
from setuptools_rust import Binding, RustExtension, Strip
|
|
|
|
with open("README.md", "r") as fh:
|
|
long_description = fh.read()
|
|
|
|
|
|
setup(
|
|
name="ed_lrr_gui",
|
|
version_format='{tag}.dev{commitcount}+{gitsha}',
|
|
author="Daniel Seiller",
|
|
author_email="earthnuker@gmail.com",
|
|
description="Elite: Dangerous long range route plotter",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="none yet",
|
|
rust_extensions=[
|
|
RustExtension(
|
|
"_ed_lrr",
|
|
path="rust/Cargo.toml",
|
|
binding=Binding.PyO3,
|
|
strip=Strip.No,
|
|
native=True,
|
|
)
|
|
],
|
|
packages=find_packages(),
|
|
entry_points={
|
|
"console_scripts": [
|
|
"ed_lrr = ed_lrr_gui.__main__:main",
|
|
],
|
|
},
|
|
install_requires=[
|
|
"appdirs",
|
|
"PyYAML",
|
|
"requests",
|
|
"python-dateutil",
|
|
"pyperclip",
|
|
"click",
|
|
"tqdm",
|
|
"PyQt5",
|
|
"click-default-group",
|
|
"profig",
|
|
"colorama"
|
|
],
|
|
setup_requires=[
|
|
"setuptools",
|
|
"setuptools-rust",
|
|
"wheel",
|
|
"pyinstaller",
|
|
"pytest-runner",
|
|
"setuptools-git-version"
|
|
],
|
|
tests_require=["pytest", "pytest-pep8", "pytest-cov"],
|
|
extras_require={
|
|
"dev": ["black", "pyinstaller","jinja2","svgwrite","tsp"],
|
|
},
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|