mirror of https://github.com/patacrep/patacrep.git
Louis
11 years ago
27 changed files with 62 additions and 10 deletions
@ -0,0 +1,36 @@ |
|||
#!/usr/bin/env python |
|||
|
|||
"""Installation script for songbook. |
|||
|
|||
$ python setup.py install |
|||
""" |
|||
|
|||
from distutils.core import setup |
|||
|
|||
import songbook_core |
|||
|
|||
setup(name='songbook-core', |
|||
version=songbook_core.__STR_VERSION__, |
|||
description='Songbook compilation chain', |
|||
author='The Songbook team', |
|||
author_email='crep@team-on-fire.com', |
|||
url='https://github.com/patacrep/songbook-core', |
|||
scripts=['songbook'], |
|||
license="GPLv2 or any later version", |
|||
requires=[ |
|||
"argparse", "codecs", "distutils", "fnmatch", "glob", "json", |
|||
"locale", "logging", "os", "plasTeX", "re", "subprocess", "sys", |
|||
"textwrap", "unidecode" |
|||
], |
|||
packages=['songbook_core'], |
|||
package_data={'songbook_core': ['*', '*/*', '*/*/*']}, |
|||
classifiers=[ |
|||
"Environment :: Console", |
|||
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", |
|||
"Natural Language :: English", |
|||
"Operating System :: POSIX :: Linux", |
|||
"Programming Language :: Python :: 2.7", |
|||
"Topic :: Utilities", |
|||
], |
|||
platforms=["GNU/Linux"], |
|||
) |
@ -1,11 +1,14 @@ |
|||
"""Global variables.""" |
|||
|
|||
from pkg_resources import resource_filename |
|||
import os |
|||
|
|||
__VERSION__ = "3.7.2" |
|||
# Version |
|||
|
|||
__VERSION__ = (3, 7, 2) |
|||
__STR_VERSION__ = '.'.join([str(number) for number in __VERSION__]) |
|||
|
|||
# Directory containing shared data (default templates, custom LaTeX packages, |
|||
# etc.) |
|||
__SHAREDIR__ = os.path.abspath( |
|||
os.path.join(os.path.dirname(__file__), "..", "share") |
|||
) |
|||
|
|||
__DATADIR__ = os.path.abspath(resource_filename(__name__, 'data')) |
|||
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 7.7 KiB |
Loading…
Reference in new issue