Skip to content

Commit

Permalink
Add packaging configs
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik committed Jan 23, 2020
1 parent ab876a2 commit 08a2fcd
Show file tree
Hide file tree
Showing 7 changed files with 288 additions and 206 deletions.
12 changes: 10 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ verify_ssl = true
precountify = {editable = true,extras = ["madmom"],path = "."}
pytest = "*"
flake8 = "*"
twine = "*"
wheel = "*"

[packages]
fire = "*"
librosa = "*"

[scripts]
test = "pytest"
lint = "flake8 precountify tests"
build = "python setup.py sdist bdist_wheel"
clean = "rm -rf build dist precountify.egg-info"
test-upload = "twine upload -s -r test dist/*"
upload = "twine upload -s -r pypi dist/*"
458 changes: 255 additions & 203 deletions Pipfile.lock

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@

A tool for adding pre-count (count-off) click to audio file.

## Requirements

- python >= 3.4

## Install

```sh
pip install precountify

# with madmom
pip install precountify[madmom]

# with essentia (linux only)
pip install precountify[essentia]
```

## Usage

```sh
Expand Down
Empty file added precountify/audio/__init__.py
Empty file.
Empty file.
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description = A tool for pre-countifying
long_description = file: README.md
long_description_content_type = text/markdown
keywords =
audio-processing
url = https://github.com/akiomik/precountify
license = Apache License 2.0
license_file = LICENSE
Expand All @@ -29,6 +30,8 @@ classifiers =
[options]
zip_safe = false
packages = find:
setup_requires =
setuptools >= 38.3.0
python_requires = >=3.4

[options.extras_require]
Expand All @@ -39,6 +42,9 @@ essentia = essentia==2.1b5
exclude =
*.tests

[options.package_data]
* = data/*.wav

[options.entry_points]
console_scripts =
precountify = precountify.cli:main
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from setuptools import setup
setup(
install_requires=[]
install_requires=['fire', 'librosa']
)

0 comments on commit 08a2fcd

Please sign in to comment.