Skip to content

Commit

Permalink
First pieces of code
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram Van de Sande committed Jan 18, 2018
1 parent de699bc commit 9f4741a
Show file tree
Hide file tree
Showing 14 changed files with 3,558 additions and 25 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pyscenic/_version.py export-subst
676 changes: 676 additions & 0 deletions LICENSE.txt

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# https://pypi.python.org/pypi/check-manifest
include versioneer.py
include pyscenic/_version.py
39 changes: 39 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This is a comment.
# You must indent using <TAB>s, not spaces.

# If you're using GNU make and you need help debugging a makefile then there
# is a single line your should add. And it's so useful that you should add it
# to every makefile you create.
# cfr. http://blog.jgc.org/2015/04/the-one-line-you-should-add-to-every.html
print-%: ; @echo $*=$($*)


# notdir: Extracts all but the directory-part of each filename.
# cfr https://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html
PACKAGENAME = $(notdir $(CURDIR))

# For ENVNAME, we assume the package-code is located in a 'src'-subdirectory of the virtualenv.
ENVNAME = $(notdir $(realpath $(CURDIR)/../.. ))


clean:
- rm -rf dist/
- rm -fr docs/_build

flake8:
- flake8 src/$(PACKAGENAME)

py:
- py.test

py-pdb:
- py.test --pdb

py-cov:
- py.test --cov=$(PACKAGENAME) --cov-report html -v tests/

py-pdb-cov:
- py.test --cov=$(PACKAGENAME) --cov-report html -v tests/ --pdb

py-pdb-cov-lf:
- py.test --cov=$(PACKAGENAME) --cov-report html -v tests/ --pdb --lf
4 changes: 4 additions & 0 deletions pyscenic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

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

0 comments on commit 9f4741a

Please sign in to comment.