Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pesto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Paul Best
pesto
Commits
bba19e0d
Commit
bba19e0d
authored
1 year ago
by
Alain Riou
Browse files
Options
Downloads
Patches
Plain Diff
add pyproject.toml
parent
3372827a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+10
-0
10 additions, 0 deletions
CHANGELOG.md
pyproject.toml
+45
-0
45 additions, 0 deletions
pyproject.toml
setup.py
+0
-52
0 additions, 52 deletions
setup.py
with
55 additions
and
52 deletions
CHANGELOG.md
+
10
−
0
View file @
bba19e0d
# Changelog
## v1.0.0
-
Change API under the hood to make it more object-oriented
-
store all utilities inside a
`PESTO`
object that is a subclass of
`nn.Module`
-
make the API compatible with the checkpoints generated by the training repo
-
add tests
-
replace
`setup.py`
by
`pyproject.toml`
-
fix a few issues
-
improve README and documentation
## v0.1.1
-
solve issue when exporting in PNG
...
...
This diff is collapsed.
Click to expand it.
pyproject.toml
0 → 100644
+
45
−
0
View file @
bba19e0d
[build-system]
requires
=
[
"setuptools"
]
build-backend
=
"setuptools.build_meta"
[project]
name
=
"pesto-pitch"
version
=
"1.0.0"
authors
=
[
{name
=
"Alain Riou"
,
email
=
"alain.riou@sony.com"
}
]
description
=
"Efficient pitch estimation with self-supervised learning"
,
readme
=
{
file
=
"README.md"
,
content-type
=
"text/markdown"
}
requires-python
=
">
=
3.8
"
classifiers
=
[
'Development Status :: 4 - Beta'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)'
,
# If licence is provided must be on the repository
'Programming Language :: Python :: 3.8'
,
'Programming Language :: Python :: 3.9'
,
'Programming Language :: Python :: 3.10'
,
'Programming Language :: Python :: 3.11'
,
]
dependencies
=
[
'numpy>
=
1.21
.
5
',
'scipy>
=
1.8
.
1
',
'tqdm>
=
4.66
.
1
',
'torch>
=
2.0
.
1
',
'torchaudio>
=
2.0
.
2
'
]
[project.optional-dependencies]
matplotlib
=
[
"matplotlib"
]
test
=
[
"pytest"
]
[project.scripts]
pesto
=
"pesto.main.py:pesto"
[project.urls]
source
=
"https://github.com/SonyCSLParis/pesto"
[tool.setuptools.packages.find]
where
=
[
"pesto"
]
[tool.setuptools.package-data]
weights
=
[
"*.ckpt"
]
This diff is collapsed.
Click to expand it.
setup.py
deleted
100644 → 0
+
0
−
52
View file @
3372827a
from
pathlib
import
Path
from
setuptools
import
setup
,
find_packages
def
get_readme_text
():
root_dir
=
Path
(
__file__
).
parent
readme_path
=
root_dir
/
"
README.md
"
return
readme_path
.
read_text
()
setup
(
name
=
'
pesto-pitch
'
,
version
=
'
0.1.0
'
,
description
=
'
Efficient pitch estimation with self-supervised learning
'
,
long_description
=
get_readme_text
(),
long_description_content_type
=
'
text/markdown
'
,
author
=
'
Alain Riou
'
,
url
=
'
https://github.com/SonyCSLParis/pesto
'
,
license
=
'
LGPL-3.0
'
,
packages
=
find_packages
(),
include_package_data
=
True
,
package_data
=
{
'
pesto
'
:
[
'
weights/*
'
],
# To include the .pth
},
install_requires
=
[
'
numpy>=1.21.5
'
,
'
scipy>=1.8.1
'
,
'
tqdm>=4.66.1
'
,
'
torch>=2.0.1
'
,
'
torchaudio>=2.0.2
'
],
classifiers
=
[
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
# 'Development Status :: 4 - Beta',
'
Development Status :: 5 - Production/Stable
'
,
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'
Intended Audience :: Developers
'
,
'
License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
'
,
# If licence is provided must be on the repository
'
Programming Language :: Python :: 3.8
'
,
'
Programming Language :: Python :: 3.9
'
,
'
Programming Language :: Python :: 3.10
'
,
'
Programming Language :: Python :: 3.11
'
,
],
entry_points
=
{
'
console_scripts
'
:
[
'
pesto=pesto.main:pesto
'
,
# For the command line, executes function pesto() in pesto/main as 'pesto'
],
},
python_requires
=
'
>=3.8
'
,
)
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