diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..1cd983f --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,5 @@ +[build-system] +requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..ab68ad1 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,44 @@ +[metadata] +name = python-chordpro +author = Raoul Snyman +author_email = raoul@snyman.info +description = A ChordPro parser, written in Python +long_description = file:README.rst +long_description_content_type = text/x-rst +url = https://git.snyman.info/raoul/python-chordpro +license = MIT +classifiers = + Development Status :: 3 - Alpha + Intended Audience :: Developers + License :: OSI Approved :: MIT License + Operating System :: POSIX + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Topic :: Utilities +keywords = music, chords, guitar + +[options] +package_dir = + = src +packages = find: +python_requires = >=3.7 +setup_requires = + setuptools_scm +install_requires = + pyhyphen + +[options.packages.find] +where = src + +[options.entry_points] +console_scripts = + python-chordpro = chordpro + +[bdist_wheel] +universal = 1 + +[flake8] +max-line-length = 120 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f021df7 --- /dev/null +++ b/setup.py @@ -0,0 +1,2 @@ +from setuptools import setup +setup(use_scm_version=True, setup_requires=['setuptools_scm'])