Skip to content

Commit

Permalink
0.1.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
seanharrison committed Sep 12, 2020
1 parent 755c9b2 commit 3d660b6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
10 changes: 10 additions & 0 deletions dist.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

cd `dirname $0`;
PACKAGE_PATH=`pwd`
rm -rf "$PACKAGE_PATH/dist"
python setup.py sdist bdist_wheel --universal
twine upload dist/*
rm -rf "$PACKAGE_PATH/build"
rm -rf "$PACKAGE_PATH/dist"
for f in `ls | grep \.egg-info`; do rm -rf "$PACKAGE_PATH/$f"; done
6 changes: 1 addition & 5 deletions postq/executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@ def executor(
runner: Callable[[Task, str], Dict], address: str, jobdir: str, task_def: Dict
) -> None:
"""
Execute the given Task definition in its own subprocess shell, and send a message to
Execute the given Task definition using the given runner, and send a message to
the given address with the results when the subprocess has completed.
Task.params:
* command = a string representing the shell command to run.
"""
try:
task = Task(**task_def)
Expand Down
6 changes: 3 additions & 3 deletions setup.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "postq",
"version": "0.0.3",
"description": "Job queue with API interface, database backend, and choice of job executors.",
"version": "0.1.0",
"description": "Job queue with DAG workflows, PostgreSQL backend, and choice of job executors.",
"url": "https://github.com/kruxia/postq",
"author": "Sean Harrison",
"author_email": "[email protected]",
"license": "MPL 2.0",
"classifiers": [
"Development Status :: 1 - Planning",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3"
Expand Down

0 comments on commit 3d660b6

Please sign in to comment.