1
0
Fork 0
mirror of https://github.com/Findus23/rebound-stubs.git synced 2024-09-19 15:13:48 +02:00
rebound-stubs/setup.py

30 lines
673 B
Python
Raw Normal View History

2021-01-14 19:09:42 +01:00
import os
from setuptools import setup
def find_stubs(package):
stubs = []
for root, dirs, files in os.walk(package):
for file in files:
path = os.path.join(root, file).replace(package + os.sep, "", 1)
stubs.append(path)
return {package: stubs}
setup(
name="rebound-stubs",
maintainer="Lukas Winkler",
maintainer_email="rebound-stubs@lw1.at",
description="type stubs for Rebound",
license="GPL",
2021-10-12 16:49:20 +02:00
version="3.18.0",
2021-01-14 19:09:42 +01:00
packages=["rebound-stubs"],
# PEP 561 requires these
install_requires=[
2021-10-12 16:49:20 +02:00
"rebound>=3.18.0",
2021-01-14 19:09:42 +01:00
],
package_data=find_stubs("rebound-stubs"),
zip_safe=False,
)