diff --git a/conda/quamash/meta.yaml b/conda/quamash/meta.yaml new file mode 100644 index 0000000..b025b4e --- /dev/null +++ b/conda/quamash/meta.yaml @@ -0,0 +1,18 @@ +package: + name: quamash + version: {{ environ.get("GIT_DESCRIBE_TAG", "") }} + +source: + path: ../.. + +build: + noarch: python + number: {{ environ.get("GIT_DESCRIBE_NUMBER", 0) }} + string: py35_{{ environ.get("GIT_DESCRIBE_NUMBER", 0) }}+git{{ environ.get("GIT_DESCRIBE_HASH", "")[1:] }} + script: python setup.py install + +requirements: + build: + - python 3.5* + run: + - python 3.5* \ No newline at end of file diff --git a/setup.py b/setup.py index c1ffd8d..1813d97 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,15 @@ from setuptools import setup -import quamash + import re import os.path -groups = re.findall(r'(.+?) <(.+?)>(?:,\s*)?', quamash.__author__) +__author__ = 'Mark Harviston , Arve Knudsen ' +__version__ = '0.6.1' +__url__ = 'https://github.com/harvimt/quamash' +__license__ = 'BSD' +__all__ = ['QEventLoop', 'QThreadExecutor'] + +groups = re.findall(r'(.+?) <(.+?)>(?:,\s*)?', __author__) authors = [x[0].strip() for x in groups] emails = [x[1].strip() for x in groups] @@ -13,13 +19,13 @@ setup( name='Quamash', - version=quamash.__version__, - url=quamash.__url__, + version=__version__, + url=__url__, author=', '.join(authors), author_email=', '.join(emails), packages=['quamash'], - license=quamash.__license__, - description=quamash.__doc__, + license=__license__, + description=__doc__, long_description=long_description, keywords=['Qt', 'asyncio'], classifiers=[