Mentions légales du service

Skip to content
Snippets Groups Projects
Commit bd5f048e authored by hhakim's avatar hhakim
Browse files

Include license files (Faust and matio) in pip packages and specify the type...

Include license files (Faust and matio) in pip packages and specify the type of Faust license in pip manifest.
parent 0397ca81
Branches
Tags
No related merge requests found
...@@ -53,6 +53,10 @@ foreach(MAT_FILE ${DEMO_MAT_FILES}) ...@@ -53,6 +53,10 @@ foreach(MAT_FILE ${DEMO_MAT_FILES})
configure_file(${FAUST_DATA_MAT_DIR}/${MAT_FILE} ${FAUST_PYTHON_BIN_DIR}/pyfaust/data/${MAT_FILE} COPYONLY) configure_file(${FAUST_DATA_MAT_DIR}/${MAT_FILE} ${FAUST_PYTHON_BIN_DIR}/pyfaust/data/${MAT_FILE} COPYONLY)
endforeach() endforeach()
# copy license files which setup.py will need to package
configure_file(${PROJECT_SOURCE_DIR}/license.txt ${FAUST_PYTHON_BIN_DIR}/pyfaust/license.txt COPYONLY)
configure_file(${PROJECT_SOURCE_DIR}/license.txt ${FAUST_PYTHON_BIN_DIR}/pyfaust/license_matio.txt COPYONLY)
message(STATUS "Installing pyfaust.py as pyfaust/__init__.py") message(STATUS "Installing pyfaust.py as pyfaust/__init__.py")
configure_file(${FAUST_PYTHON_SRC_DIR}/pyfaust.py ${FAUST_PYTHON_BIN_DIR}/pyfaust/__init__.py) configure_file(${FAUST_PYTHON_SRC_DIR}/pyfaust.py ${FAUST_PYTHON_BIN_DIR}/pyfaust/__init__.py)
......
...@@ -74,9 +74,9 @@ if sys.platform == 'win32': ...@@ -74,9 +74,9 @@ if sys.platform == 'win32':
long_description = 'TODO', long_description = 'TODO',
classifiers = [ 'TODO' ], classifiers = [ 'TODO' ],
install_requires = [ 'scipy', 'numpy', 'matplotlib' ], #ENOTE: order matters (last pkg installed first) install_requires = [ 'scipy', 'numpy', 'matplotlib' ], #ENOTE: order matters (last pkg installed first)
#TODO: license license = "GNU AFFERO GPL",
package_data = { package_data = {
'pyfaust': ['data/*.mat', lib ] 'pyfaust': [ 'data/*.mat', lib, 'license*.txt' ]
} }
) )
else: # linux and mac else: # linux and mac
...@@ -100,8 +100,8 @@ else: # linux and mac ...@@ -100,8 +100,8 @@ else: # linux and mac
long_description = 'TODO', long_description = 'TODO',
classifiers = [ 'TODO' ], classifiers = [ 'TODO' ],
install_requires = [ 'scipy', 'numpy', 'matplotlib' ], #ENOTE: order matters (last pkg installed first) install_requires = [ 'scipy', 'numpy', 'matplotlib' ], #ENOTE: order matters (last pkg installed first)
#TODO: license license = "GNU AFFERO GPL",
package_data = { package_data = {
'pyfaust': ['data/*.mat'] 'pyfaust': [ 'data/*.mat', 'license*.txt' ]
} }
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment