Skip to content

Commit

Permalink
Merge pull request #3 from GES-mpalermo/main
Browse files Browse the repository at this point in the history
Fixed conda build files and imports
  • Loading branch information
GES-compchem authored Dec 21, 2021
2 parents 5c3b8f3 + 5bd3cf4 commit 9e96031
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 18 deletions.
1 change: 1 addition & 0 deletions jobdispatcher/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from jobdispatcher.processor import JobDispatcher
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@
@author: mpalermo
"""

import queue
from multiprocessing import Process, current_process, active_children, Manager
import os
import sys
import gc
import time
import traceback

from typing import Callable, List


class JobProcessor:
class JobDispatcher:
"""Queue any number of different functions and execute them in parallel."""

def __init__(
Expand Down
18 changes: 6 additions & 12 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "jobdispatcher" %}
{% set version = "0.1.0" %}
{% set name = "job-dispatcher" %}
{% set version = "0.1.3" %}



Expand All @@ -10,29 +10,23 @@ package:


source:
url: https://github.com/GES-compchem/job-dispatcher/archive/refs/tags/0.1.0-alpha.tar.gz
url: https://github.com/GES-compchem/{{ name }}/archive/refs/tags/{{ version }}.zip




build:
noarch: python
number: 0



requirements:
host:
- python
- python>=3.8

run:
- python



test:
imports:
- jobdispatcher

- python>=3.8


about:
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@


setuptools.setup(
name="jobdispatcher",
version="0.1.0",
name="job-dispatcher",
version="0.1.3",
description="",
long_description="",
packages=["jobdispatcher"],
install_requires=["multiprocessing", "os", "sys", "time", "traceback", "python"],
install_requires=[],
)

0 comments on commit 9e96031

Please sign in to comment.