forked from harvimt/quamash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a bit of a hack because: 1. The git tags used in quamash upset conda-build (which doesn't like hyphens) so I manually retagged 2. setup.py imported quamash for metadata (version etc) which didn't work without a qt package, so I moved that data into setup.py (HACK/TO FIX)
- Loading branch information
Showing
2 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 <[email protected]>, Arve Knudsen <[email protected]>' | ||
__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=[ | ||
|