Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add setup.py directive to make conda_mirror.py a script #4

Merged
merged 5 commits into from Oct 24, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .coveragerc
@@ -1,6 +1,6 @@
[run]
source =
conda_mirror.py
conda_mirror/

[report]
omit =
Expand Down
1 change: 1 addition & 0 deletions .gitattributes
@@ -0,0 +1 @@
conda_mirror/_version.py export-subst
8 changes: 5 additions & 3 deletions .travis.yml
Expand Up @@ -6,15 +6,17 @@ python:
- 3.5

install:
- git clone https://github.com/ericdill/ci
- . ci/install-miniconda.sh
- git clone https://github.com/ericdill/ci ~/scripts
- . ~/scripts/install-miniconda.sh
- conda install python=$TRAVIS_PYTHON_VERSION pip conda-build
- conda update --all
- pip install -r test-requirements.txt
- pip install codecov
- pip install -e .

script:
- coverage run -m pytest -vrsx
- ./run_tests
- conda_mirror.py -h

after_success:
- codecov
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include versioneer.py
include conda_mirror/_version.py
4 changes: 4 additions & 0 deletions conda_mirror/__init__.py
@@ -0,0 +1,4 @@

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions