Skip to content

Commit

Permalink
Added description to setup.py file.
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorbaca committed Jan 23, 2021
1 parent ecba1c8 commit bb829a6
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@

import setuptools

subpackage_name = "rmakers"
name = "rmakers"


def read_version():
root_path = pathlib.Path(__file__).parent
version_path = root_path / "abjadext" / subpackage_name / "_version.py"
version_path = root_path / "abjadext" / name / "_version.py"
with version_path.open() as file_pointer:
file_contents = file_pointer.read()
local_dict = {}
exec(file_contents, None, local_dict)
return local_dict["__version__"]


description = "Rhythm-makers extend Abjad with tools for rhythmic construction."

if __name__ == "__main__":
setuptools.setup(
author="Trevor Bača",
Expand All @@ -27,6 +29,7 @@ def read_version():
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Artistic Software",
],
description=description,
extras_require={
"test": [
"black==20.8b1",
Expand All @@ -49,7 +52,7 @@ def read_version():
"lilypond",
]
),
name="abjad-ext-{}".format(subpackage_name),
name=f"abjad-ext-{name}",
packages=["abjadext"],
platforms="Any",
url="http://abjad.github.io",
Expand Down

0 comments on commit bb829a6

Please sign in to comment.