forked from msis/python-moos
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
36 lines (30 loc) · 983 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from setuptools import setup
from pathlib import Path
# Available at setup time due to pyproject.toml
from pybind11.setup_helpers import Pybind11Extension, build_ext
from pybind11 import get_cmake_dir
import sys
__version__ = "2022.1"
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
ext_modules = [
Pybind11Extension("pymoos",
["src/pyMOOS.cpp"],
libraries=["MOOS"],
define_macros=[('VERSION_INFO', __version__)],
),
]
setup(
name="pymoos",
version=__version__,
author='Mohamed Saad Ibn Seddik <[email protected]>',
maintainer='Russ Webber <[email protected]>',
description='MOOS Python Wrapper.',
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/russkel/python-moos",
ext_modules=ext_modules,
extras_require={"test": "pytest"},
cmdclass={"build_ext": build_ext},
zip_safe=False,
)