Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
ltfatpy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dev
ltfatpy
Commits
8943caa1
There was a problem fetching the pipeline summary.
Commit
8943caa1
authored
7 years ago
by
Denis Arrivault
Browse files
Options
Downloads
Patches
Plain Diff
Up with a setup approach
parent
128c8386
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
.gitlab-ci.yml
+21
-4
21 additions, 4 deletions
.gitlab-ci.yml
setup.py
+10
-10
10 additions, 10 deletions
setup.py
with
32 additions
and
15 deletions
.gitignore
+
1
−
1
View file @
8943caa1
...
@@ -84,7 +84,7 @@ pytests_results.txt
...
@@ -84,7 +84,7 @@ pytests_results.txt
.coverage
.coverage
.html
.html
.png
.png
htmlcov/
.eggs
LtfatPyt.egg-info/
LtfatPyt.egg-info/
.cache/
.cache/
dist/
dist/
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
21
−
4
View file @
8943caa1
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
stages
:
stages
:
-
build
-
build
-
test
-
test
-
dist
# Global runner/docker image definition
# Global runner/docker image definition
image
:
ubuntu:latest
image
:
ubuntu:latest
...
@@ -28,20 +29,36 @@ build:
...
@@ -28,20 +29,36 @@ build:
tags
:
tags
:
-
docker
-
docker
script
:
script
:
-
p
ip3
install
-e .
-
p
ython setup.py
install
# Tests
# Tests
test
:
test
:
stage
:
test
stage
:
test
tags
:
tags
:
-
docker
-
docker
dependencies
:
-
build
script
:
script
:
-
python setup.py test
artifacts
:
when
:
always
untracked
:
true
paths
:
-
build/
expire_in
:
8d
# Installation and test with pip
dist
:
stage
:
dist
tags
:
-
docker
script
:
-
pip install -e .
-
nosetests
-
nosetests
artifacts
:
artifacts
:
when
:
always
when
:
always
untracked
:
true
untracked
:
true
paths
:
paths
:
-
build/
-
build/
expire_in
:
8d
expire_in
:
8d
\ No newline at end of file
after_script
:
-
pip3 uninstall ltfatpy
\ No newline at end of file
This diff is collapsed.
Click to expand it.
setup.py
+
10
−
10
View file @
8943caa1
...
@@ -129,7 +129,7 @@ def run_cmake(root_dir):
...
@@ -129,7 +129,7 @@ def run_cmake(root_dir):
except
ds
.
DistutilsExecError
:
except
ds
.
DistutilsExecError
:
print
(
"
Error while running cmake
"
)
print
(
"
Error while running cmake
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
"
and re-running setup
"
)
"
and re-running setup
"
)
sys
.
exit
(
-
1
)
sys
.
exit
(
-
1
)
...
@@ -147,7 +147,7 @@ def run_make(root_dir):
...
@@ -147,7 +147,7 @@ def run_make(root_dir):
except
ds
.
DistutilsExecError
:
except
ds
.
DistutilsExecError
:
print
(
"
Error while running make
"
)
print
(
"
Error while running make
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
"
and re-running setup
"
)
"
and re-running setup
"
)
sys
.
exit
(
-
1
)
sys
.
exit
(
-
1
)
...
@@ -166,7 +166,7 @@ def run_make_install(root_dir):
...
@@ -166,7 +166,7 @@ def run_make_install(root_dir):
except
ds
.
DistutilsExecError
:
except
ds
.
DistutilsExecError
:
print
(
"
Error while running make install
"
)
print
(
"
Error while running make install
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
"
and re-running setup
"
)
"
and re-running setup
"
)
sys
.
exit
(
-
1
)
sys
.
exit
(
-
1
)
...
@@ -184,7 +184,7 @@ def run_uninstall(root_dir):
...
@@ -184,7 +184,7 @@ def run_uninstall(root_dir):
except
ds
.
DistutilsExecError
:
except
ds
.
DistutilsExecError
:
print
(
"
Error while running make uninstall
"
)
print
(
"
Error while running make uninstall
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
run
'
setup.py build --help
'
for build options
"
)
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
print
(
"
You may also try editing the settings in CMakeLists.txt file
"
+
"
and re-running setup
"
)
"
and re-running setup
"
)
sys
.
exit
(
-
1
)
sys
.
exit
(
-
1
)
...
@@ -313,8 +313,8 @@ def setup_package():
...
@@ -313,8 +313,8 @@ def setup_package():
setup
(
name
=
"
ltfatpy
"
,
setup
(
name
=
"
ltfatpy
"
,
version
=
VERSION
,
version
=
VERSION
,
description
=
'
The Large Time-Frequency Toolbox (LTFAT) in Python
'
,
description
=
'
The Large Time-Frequency Toolbox (LTFAT) in Python
'
,
long_description
=
(
read
(
'
README.rst
'
)
+
'
\n\n
'
+
long_description
=
(
read
(
'
README.rst
'
)
+
'
\n\n
'
+
read
(
'
HISTORY.rst
'
)
+
'
\n\n
'
+
read
(
'
HISTORY.rst
'
)
+
'
\n\n
'
+
read
(
'
AUTHORS.rst
'
)),
read
(
'
AUTHORS.rst
'
)),
packages
=
find_packages
(),
packages
=
find_packages
(),
package_data
=
{
'
ltfatpy.signals
'
:
[
'
*.wav
'
],
package_data
=
{
'
ltfatpy.signals
'
:
[
'
*.wav
'
],
...
@@ -323,11 +323,11 @@ def setup_package():
...
@@ -323,11 +323,11 @@ def setup_package():
url
=
"
https://gitlab.lif.univ-mrs.fr/dev/ltfatpy
"
,
url
=
"
https://gitlab.lif.univ-mrs.fr/dev/ltfatpy
"
,
license
=
'
GNU GPL V3
'
,
license
=
'
GNU GPL V3
'
,
author
=
'
Denis Arrivault and Florent Jaillet
'
,
author
=
'
Denis Arrivault and Florent Jaillet
'
,
author_email
=
'
denis.arrivault@lif.univ-mrs.fr
'
+
author_email
=
'
denis.arrivault@lif.univ-mrs.fr
'
+
'
florent.jaillet@lif.univ-mrs.fr
'
,
'
florent.jaillet@lif.univ-mrs.fr
'
,
# install_requires=['numpy'],
ext_modules
=
extensions
,
ext_modules
=
extensions
,
tests_require
=
[
'
pytest
'
],
test_suite
=
'
nose.collector
'
,
tests_require
=
[
'
nose
'
,
'
coverage
'
],
cmdclass
=
{
'
build_ext
'
:
m_build_ext
,
cmdclass
=
{
'
build_ext
'
:
m_build_ext
,
'
clean
'
:
m_clean
,
'
sdist
'
:
m_sdist
},
'
clean
'
:
m_clean
,
'
sdist
'
:
m_sdist
},
classifiers
=
[
'
Development Status :: 5 - Production/Stable
'
,
classifiers
=
[
'
Development Status :: 5 - Production/Stable
'
,
...
@@ -344,7 +344,7 @@ def setup_package():
...
@@ -344,7 +344,7 @@ def setup_package():
'
Topic :: Scientific/Engineering :: Mathematics
'
,
'
Topic :: Scientific/Engineering :: Mathematics
'
,
'
Topic :: Scientific/Engineering
'
'
Topic :: Scientific/Engineering
'
],
],
install_requires
=
[
'
numpy>=1.8
'
,
'
matplotlib>=1.4
'
,
'
six>=1.10
'
],
install_requires
=
[
'
scipy>=0.18
'
,
'
numpy>=1.8
'
,
'
matplotlib>=1.4
'
,
'
six>=1.10
'
],
)
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment