You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.0 KiB
Python
37 lines
1.0 KiB
Python
import setuptools
|
|
from setuptools_rust import Binding, RustExtension
|
|
|
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
long_description = fh.read()
|
|
|
|
setuptools.setup(
|
|
name="lightguide",
|
|
version="0.0.1",
|
|
author="Marius Paul Isken",
|
|
author_email="mi@gfz-potsdam.de",
|
|
description="DAS Tools for Pyrocko",
|
|
zip_safe=False,
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://git.pyrocko.org/pyrocko/pyrocko-das",
|
|
project_urls={
|
|
"Bug Tracker": "https://git.pyrocko.org/pyrocko/pyrocko-das/issues",
|
|
},
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
rust_extensions=[
|
|
RustExtension(
|
|
"lightguide.rust",
|
|
path="Cargo.toml",
|
|
binding=Binding.PyO3,
|
|
debug=False,
|
|
)
|
|
],
|
|
package_data={"lightguide": ["data/*.npy"]},
|
|
packages=["lightguide"],
|
|
python_requires=">=3.6",
|
|
)
|