Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (50 loc) · 1.6 KB
/
Copy pathsetup.py
File metadata and controls
56 lines (50 loc) · 1.6 KB
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
#! /usr/bin/env python
import pathlib
import setuptools
subpackage_name = "ipython"
def read_version():
root_path = pathlib.Path(__file__).parent
version_path = root_path / "abjadext" / subpackage_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__"]
if __name__ == "__main__":
setuptools.setup(
author="Josiah Wolf Oberholtzer",
author_email="josiah.oberholtzer@gmail.com",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Artistic Software",
],
include_package_data=True,
install_requires=[
"abjad==3.3",
"black",
"flake8",
"isort",
"mypy",
"pytest>=5.4.3",
"pytest-helpers-namespace",
"jupyter>=1.0.0",
],
license="MIT",
long_description=pathlib.Path("README.md").read_text(),
keywords=", ".join(
[
"jupyter",
"lilypond",
"music composition",
"music notation",
]
),
name="abjad-ext-{}".format(subpackage_name),
packages=["abjadext"],
platforms="Any",
url="http://abjad.github.io",
version=read_version(),
)