Skip to content

Commit

Permalink
Merge branch '1.0.x' into 'master'
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Mar 23, 2017
2 parents 0c5a2e0 + 2e78a5f commit c8be408
Show file tree
Hide file tree
Showing 21 changed files with 31 additions and 117 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
[![Build Status](https://travis-ci.org/ViDA-NYU/reprozip.svg?branch=master)]
(https://travis-ci.org/ViDA-NYU/reprozip)
[![Coverage Status]
(https://codecov.io/github/ViDA-NYU/reprozip/coverage.svg?branch=master)]
(https://codecov.io/github/ViDA-NYU/reprozip?branch=master)
[![Build Status](https://travis-ci.org/ViDA-NYU/reprozip.svg?branch=master)](https://travis-ci.org/ViDA-NYU/reprozip)
[![Coverage Status](https://codecov.io/github/ViDA-NYU/reprozip/coverage.svg?branch=master)](https://codecov.io/github/ViDA-NYU/reprozip?branch=master)
[![Code Health](https://landscape.io/github/ViDA-NYU/reprozip/master/landscape.png)](https://landscape.io/github/ViDA-NYU/reprozip/master)
[![Documentation Status](https://readthedocs.org/projects/reprozip/badge/?version=latest)]
(https://docs.reprozip.org/en/latest/)
[![Documentation Status](https://readthedocs.org/projects/reprozip/badge/?version=latest)](https://docs.reprozip.org/en/latest/)
[![Matrix](https://img.shields.io/badge/chat-matrix.org-brightgreen.svg)](https://riot.im/app/#/room/#reprozip:matrix.org)
[![status](http://joss.theoj.org/papers/b578b171263c73f64dfb9d040ca80fe0/status.svg)]
(http://joss.theoj.org/papers/b578b171263c73f64dfb9d040ca80fe0)
[![status](http://joss.theoj.org/papers/b578b171263c73f64dfb9d040ca80fe0/status.svg)](http://joss.theoj.org/papers/b578b171263c73f64dfb9d040ca80fe0)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.60654.svg)](https://doi.org/10.5281/zenodo.60654)

ReproZip
Expand Down
5 changes: 5 additions & 0 deletions reprounzip/reprounzip/unpackers/common/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,11 @@ def metadata_read(path, type_):
"""
filename = path / '.reprounzip'

if not filename.exists():
logging.critical("Required metadata missing, did you point this "
"command at the directory you created using the "
"'setup' command?")
raise UsageError
with filename.open('rb') as fp:
dct = pickle.load(fp)
if type_ is not None and dct['unpacker'] != type_:
Expand Down
15 changes: 9 additions & 6 deletions reprozip/reprozip/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@ def canonicalize_config(packages, other_files, additional_patterns,
"""Expands ``additional_patterns`` from the configuration file.
"""
add_files = expand_patterns(additional_patterns)
if sort_packages:
add_files, add_packages = identify_packages(add_files)
else:
add_packages = []
other_files, packages = combine_files(add_files, add_packages,
other_files, packages)
if add_files:
logging.info("Found %d files from expanding additional_patterns...",
len(add_files))
if sort_packages:
add_files, add_packages = identify_packages(add_files)
else:
add_packages = []
other_files, packages = combine_files(add_files, add_packages,
other_files, packages)
return packages, other_files


Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprounzip-docker/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprounzip-docker/build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/conda/reprounzip-docker/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprounzip-qt/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprounzip-qt/build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/conda/reprounzip-qt/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprounzip-vagrant/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprounzip-vagrant/build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/conda/reprounzip-vagrant/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprounzip-vistrails/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprounzip-vistrails/build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/conda/reprounzip-vistrails/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprounzip/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprounzip/build.sh

This file was deleted.

2 changes: 2 additions & 0 deletions scripts/conda/reprounzip/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
Expand Down
8 changes: 0 additions & 8 deletions scripts/conda/reprozip/bld.bat

This file was deleted.

9 changes: 0 additions & 9 deletions scripts/conda/reprozip/build.sh

This file was deleted.

3 changes: 3 additions & 0 deletions scripts/conda/reprozip/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ build:
# number: 1
string: _REPLACE_buildstr_REPLACE_

script: python setup.py install --single-version-externally-managed --record=record.txt

requirements:
build:
- python
- setuptools

run:
- python
- setuptools # for pkg_resources
- pyyaml
- requests
- rpaths >=0.8
Expand Down

0 comments on commit c8be408

Please sign in to comment.