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="0.1.0", 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.All, native=True, ) ], packages=find_packages(), entry_points={ "console_scripts": [ "ed_lrr_gui_console = ed_lrr_gui.gui.__main__:main", "ed_lrr = ed_lrr_gui.__main__:main", ], "gui_scripts": ["ed_lrr_gui = ed_lrr_gui.gui.__main__:main"], }, install_requires=[ "appdirs", "PyYAML", "requests", "python-dateutil", "pyperclip", "click", "PyQt5", "click-default-group" ], setup_requires=[ "setuptools", "setuptools-rust", "wheel", "pyinstaller", "pytest-runner", ], 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, )