Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.

Commit

Permalink
Update requires section of flit.ini with requirements.txt (#14)
Browse files Browse the repository at this point in the history
* Update requires section of flit.ini with requirements.txt

solves #13

* Addressed some python 2 issues.
  • Loading branch information
sohail535 authored Sep 19, 2017
1 parent 8e86185 commit b6e3709
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion flit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
module=roro
author=rorodata
author-email[email protected]
requires=firefly-python>=0.1.4
requires=firefly-python>=0.1.7
click>=6.7
tabulate>=0.7.7
PyYAML>=3.12
joblib>=0.11
pathlib>=1.0.1; python_version < '3'
backports.tempfile; python_version < '3'
description-file=README.rst
home-page=https://github.com/rorodata/roro-client

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ tabulate>=0.7.7
PyYAML>=3.12
joblib>=0.11
pathlib>=1.0.1; python_version < '3'
backports.tempfile; python_version < '3'
7 changes: 6 additions & 1 deletion roro/projects.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import os
import tempfile
import shutil
import yaml
from . import models, config
from .client import Client
from .helpers import PY2
from click import ClickException

if PY2:
from backports import tempfile
else:
import tempfile


class Project:
def __init__(self, name, runtime=None):
Expand Down

0 comments on commit b6e3709

Please sign in to comment.