-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathsetup.py
63 lines (56 loc) · 2.12 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#! /usr/bin/env python
import os
import setuptools
def get_abjad_version():
version_file_path = os.path.join(os.path.dirname(__file__), "abjad", "_version.py")
with open(version_file_path, "r") as file_pointer:
file_contents_string = file_pointer.read()
local_dict: dict = {}
exec(file_contents_string, None, local_dict)
__version__ = local_dict["__version__"]
return __version__
with open("README.rst", "r") as file_pointer:
long_description = file_pointer.read()
if __name__ == "__main__":
version = get_abjad_version()
setuptools.setup(
author="Trevor Bača, Joséphine Wolf Oberholtzer",
author_email="[email protected], [email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Artistic Software",
],
description="Abjad is a Python API for building LilyPond files.",
extras_require={
"nauert": ["abjad-ext-nauert>=3.21"],
"rmakers": ["abjad-ext-rmakers>=3.21"],
"dev": [
"black>=25.1.0",
"flake8>=7.1.1",
"isort>=6.0.0",
"mypy>=1.14.1",
"pytest>=8.3.4",
"pytest-cov>=6.0.0",
"pytest-helpers-namespace>=2021.12.29",
"setuptools>=75.8.0",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
"twine>=6.1.0",
],
},
include_package_data=True,
install_requires=["ply>=3.11", "roman>=5.0", "uqbar>=0.7.4"],
keywords="lilypond, music composition, music notation",
license="MIT",
long_description=long_description,
long_description_content_type="text/x-rst",
name="abjad",
packages=["abjad"],
platforms="Any",
python_requires=">=3.12",
url="https://abjad.github.io",
version=version,
)