Updated setup.py, gitignore, cmakelists
This commit is contained in:
parent
f7b596fee8
commit
86211b8505
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
*.a
|
*.a
|
||||||
*.pyc
|
*.pyc
|
||||||
|
dist
|
||||||
CMakeFiles
|
CMakeFiles
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
|
@ -112,7 +112,13 @@ add_subdirectory(test)
|
|||||||
|
|
||||||
# set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
|
# set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
|
||||||
set(SETUP_PY "${CMAKE_CURRENT_BINARY_DIR}/setup.py")
|
set(SETUP_PY "${CMAKE_CURRENT_BINARY_DIR}/setup.py")
|
||||||
set(DEPS "${CMAKE_CURRENT_SOURCE_DIR}/lasp/*.py")
|
|
||||||
|
set(DEPS "${CMAKE_CURRENT_SOURCE_DIR}/*.py"
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/lasp/*.py"
|
||||||
|
"wrappers"
|
||||||
|
"lasp_daqdevice")
|
||||||
|
|
||||||
|
# )
|
||||||
set(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/build/timestamp")
|
set(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/build/timestamp")
|
||||||
|
|
||||||
# configure_file(${SETUP_PY_IN} ${SETUP_PY})
|
# configure_file(${SETUP_PY_IN} ${SETUP_PY})
|
||||||
|
16
setup.py
16
setup.py
@ -3,21 +3,25 @@
|
|||||||
"""
|
"""
|
||||||
@author: J.A. de Jong - ASCEE
|
@author: J.A. de Jong - ASCEE
|
||||||
"""
|
"""
|
||||||
from setuptools import setup
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
descr = """Library for Acoustic Signal Processing. This Python module contains
|
|
||||||
tools and code for common operations on acoustic signals."""
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="LASP",
|
name="LASP",
|
||||||
version="1.0",
|
version="1.0",
|
||||||
packages=['lasp'],
|
packages=find_packages(),
|
||||||
|
long_description=open("./README.md", 'r').read(),
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
# ext_modules=[CMakeExtension('lasp/wrappers.so'),
|
||||||
|
# ],
|
||||||
|
package_data={'lasp': ['wrappers.so']},
|
||||||
author='J.A. de Jong - ASCEE',
|
author='J.A. de Jong - ASCEE',
|
||||||
author_email="j.a.dejong@ascee.nl",
|
author_email="j.a.dejong@ascee.nl",
|
||||||
install_requires=['matplotlib>=1.0',
|
install_requires=['matplotlib>=1.0',
|
||||||
'scipy>=1.0', 'numpy>=1.0', 'h5py'],
|
'scipy>=1.0', 'numpy>=1.0', 'h5py',
|
||||||
|
'lrftubes>=1.0'],
|
||||||
license='MIT',
|
license='MIT',
|
||||||
description=descr,
|
description="Library for Acoustic Signal Processing",
|
||||||
keywords="",
|
keywords="",
|
||||||
url="https://www.ascee.nl/lasp/", # project home page, if any
|
url="https://www.ascee.nl/lasp/", # project home page, if any
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user