Skip to content

Commit 687cd80

Browse files
committed
Builds for pip, adds travis + .gitignore for build
1 parent 6489e31 commit 687cd80

File tree

4 files changed

+56
-3
lines changed

4 files changed

+56
-3
lines changed

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
__pycache__/
2-
.idea/
2+
.idea/
3+
.DS_Store
4+
**/**/DS_Store
5+
build/
6+
dist/
7+
illusional.wdlgen.egg-info

.travis.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: python
2+
python:
3+
- '3.6'
4+
install:
5+
- pip install codecov coverage requests_mock nose_parameterized
6+
script: nosetests --with-coverage --cover-package=janis
7+
# after_success: codecov
8+
deploy:
9+
provider: pypi
10+
user: illusional
11+
password:
12+
secure: bhpWlsF2yvtU897X4Z8rdvSLjdeJJAoh0keLlxQuivdJ3Xub/ehthuR9YhZNEEIa6IkECXDgI4OQknVfyLeXW11bAAC4wW05N1YPAVSGXzzLz3Q1pQgWuDc1avMQImpMXvymkUigkC4VPEAIMjFaeRqaXoRjpXVcn+TX+qA3cPOQIfdOa13WTYv8aCzpeYIZLPUXm8uqDmyHUs4f8/roikg2BSBttEYYtKHuEf9+6dZAxl528fj74utLlNnbPNF1+m7zDEItnixrucgw1cLNtFCSbb4hs1Zp55BMOtrKNzZ06cC9QTqUMhXC78RJRqzdD1rff2If70w2N7OW/cGDrYbKqL/NmO28w+VtkzfrpQ9Xksn+ldfEdKZ3vdoCxpaVUI3J9FvOwfGbzRW1l/mWhHtmDBbVdBqp18ZNin0n+2DlLCn0y7y9E4MWIFtVB8fJkeeQWj7QBhyTScuDMirXBoaZvcWcZXwd9SNugI5o0teovMgPSs2SOYCgII6ymnc/A9g0IKn00rC/V0VWhiCm+AbtFMCYNt6XFzVJhpHxR5iIxxV05rA0KwmjuND9uu+klqW2roNAFTP//Pa/NcjO5LCVsywtz0b/62JFHr3LJM4x6bARPMjzcxzyeOZMSZiYWbKyvzDGCiKGbIFiTH/MAQdR7sKyJQqWM22U5jG9gyk=
13+
on:
14+
tags: true
15+
distributions: sdist bdist_wheel
16+
repo: illusional/python-wdlgen

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ I needed an easy way to generate some _BASIC_ WDL through some in memory objects
1010

1111
## Installation
1212

13-
**Goal:** Put on PIP or similar.
13+
```
14+
pip install illusional.wdlgen
15+
```
1416

15-
Otherwise gitsubmodules might be your saviour here unfortunately.
1617

1718
## General support
1819

setup.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
from setuptools import setup
2+
3+
__version__ = "v0.0.2"
4+
5+
DESCRIPTION = "Contains classes and helpers to generate WDL without worrying about the syntax. " \
6+
"This is primarily intended for generating WDL from other in-memory representations of a workflow."
7+
8+
# ======== SHOULDN'T NEED EDITS BELOW THIS LINE ======== #
9+
10+
with open("./README.md") as readme:
11+
long_description = readme.read()
12+
13+
setup(
14+
name="illusional.wdlgen",
15+
version=__version__,
16+
description=DESCRIPTION,
17+
url="https://github.com/illusional/python-wdlgen",
18+
author="Michael Franklin",
19+
author_email="[email protected]",
20+
license="GNU",
21+
packages=["wdlgen"],
22+
install_requires=[],
23+
zip_safe=False,
24+
long_description=long_description,
25+
long_description_content_type="text/markdown",
26+
classifiers=[
27+
'Development Status :: 2 - Pre-Alpha',
28+
'Intended Audience :: Developers',
29+
'Topic :: Scientific/Engineering'
30+
]
31+
)

0 commit comments

Comments
 (0)