Compare commits

..

No commits in common. "d59a38721ee01f7822def002804bacc171cbfaf5" and "cf7fff35ae811275eb695565a36af8b7e7358a5a" have entirely different histories.

5 changed files with 17 additions and 16 deletions

View File

@ -1,11 +1,4 @@
Negro Mate Web Negro Mate Web
================== ==================
Static html compiler for the web of Negro Mate. Static html compiler for the web of Negro Mate.
Install from source
-------------------
Instalation uses the pep517 packaging format, whichs requires pip version
19 or newer.
pip install "pip>=19"
pip install .

11
build.py Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python
import sys
from pathlib import Path, PurePath
from negromateweb.builder import Builder
builder = Builder(
Path('../bideoak'),
Path('../libreto/libreto.pdf'),
)
builder.build()

View File

@ -98,10 +98,7 @@ def run(args, **kwargs):
'rm', 'rm',
previous_hash, previous_hash,
] ]
result = subprocess.run(command) subprocess.check_call(command)
if result.returncode != 0:
logger.info('Previous {} hash not removed: {}'.format(previous_hash, result.stdout))
else:
logger.info('Previous hash unpinned on local') logger.info('Previous hash unpinned on local')
# remove previous pin on server # remove previous pin on server

View File

@ -33,4 +33,4 @@ def run(args, **kwargs):
directory=str(args.song_folder.expanduser()), directory=str(args.song_folder.expanduser()),
) )
test(HandlerClass=Handler, port=args.port, bind=args.bind or None) test(HandlerClass=Handler, port=args.port, bind=args.bind)

View File

@ -21,8 +21,8 @@ zip_safe = false
python_requires = >= 3.4 python_requires = >= 3.4
install_requires = install_requires =
Jinja2 Jinja2
ass ==0.5.2 ass ==0.4.4
negromate.songs ==1.3 negromate.songs ==1.1
[options.entry_points] [options.entry_points]
negromate.commands = negromate.commands =