Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch committed Jul 31, 2019
0 parents commit b251aec
Show file tree
Hide file tree
Showing 13 changed files with 939 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[bumpversion]
current_version = '0.0.1'
commit = True
tag = True

[bumpversion:file:setup.py]
[bumpversion:file:detectree/__init__.py]
search = __version__ = '{current_version}'
replace = __version__ = '{new_version}'
107 changes: 107 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# Cookiecutter
output/
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Config file for automatic testing at travis-ci.org

language: python
python:
- 3.6

before_install:
- pip install --upgrade pip
- pip install --upgrade wheel
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set show_channel_urls true
- conda update conda
- conda config --add channels conda-forge --force
- conda create --quiet --name TESTENV python=$TRAVIS_PYTHON_VERSION
- source activate TESTENV
- conda install -c conda-forge geopandas
- conda info --all
- conda list

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install .
- pip install -r requirements-dev.txt
- pip show detectree

# command to run tests, e.g. python setup.py test
script:
- coverage run --source detectree -m py.test

after_success:
- coverage report -m
- coveralls

# deploy new versions to PyPI
deploy:
provider: pypi
on:
tags: true
python: 3.6
user: martibosch
Loading

0 comments on commit b251aec

Please sign in to comment.