Skip to content

Commit

Permalink
Make this installable as a library
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Sefton committed Jul 8, 2016
1 parent 965911a commit b576754
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
12 changes: 12 additions & 0 deletions MANIFEST
@@ -0,0 +1,12 @@
# file GENERATED by distutils, do NOT edit
README.md
setup.py
chordprobook/chord_book.py
chordprobook/chordprobook.py
chordprobook/instruments.yaml
chordprobook/test_chorddiagram.py
chordprobook/test_chordprobook.py
chordprobook/chord_data/5_string_banjo_g_chords.cho
chordprobook/chord_data/guitar_chords.cho
chordprobook/chord_data/mandolin_chords.cho
chordprobook/chord_data/soprano_ukulele_chords.cho
38 changes: 38 additions & 0 deletions setup.py
@@ -0,0 +1,38 @@
# chardet's setup.py
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
setup(
name = "chorprobook",
packages = ["chordprobook"],
package_data={
'chordprobook': ['instruments.yaml','chord_data/*.cho']
},
version = "0.1",
description = "Chordpro songsheet and book generator",

author = "Peter Sefton",
author_email = "pt@ptsefton.com",
url = "https://github.com/ptsefton/chordprobook",
download_url = "https://github.com/ptsefton/chordprobook",
keywords = ["chordpro", "pdf", "song"],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 1 - Alpha",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GPL",
"Operating System :: OS Independent",

],
long_description = """\
This is a Python 3 script to convert collections of chordpro formatted song charts to
PDF, HTML, epub, and word processing doc formats including chord diagrams.
Can convert a directory full of files to a single book, or a set of song-sheets, also handles setlists.
Uses Pandoc and wkhtmltopdf to do all the hard work.
"""
)

0 comments on commit b576754

Please sign in to comment.