Updated setup.py, gitignore, cmakelists

This commit is contained in:
Anne de Jong 2019-01-05 12:16:03 +01:00
parent f7b596fee8
commit 86211b8505
3 changed files with 18 additions and 7 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
*.a
*.pyc
dist
CMakeFiles
CMakeCache.txt
cmake_install.cmake

View File

@ -112,7 +112,13 @@ add_subdirectory(test)
# set(SETUP_PY_IN "${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in")
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")
# configure_file(${SETUP_PY_IN} ${SETUP_PY})

View File

@ -3,21 +3,25 @@
"""
@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(
name="LASP",
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_email="j.a.dejong@ascee.nl",
install_requires=['matplotlib>=1.0',
'scipy>=1.0', 'numpy>=1.0', 'h5py'],
'scipy>=1.0', 'numpy>=1.0', 'h5py',
'lrftubes>=1.0'],
license='MIT',
description=descr,
description="Library for Acoustic Signal Processing",
keywords="",
url="https://www.ascee.nl/lasp/", # project home page, if any