Skip to content

Commit

Permalink
Switch to flit. (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Sep 3, 2018
1 parent 356999f commit c2d7c48
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 569 deletions.
1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

9 changes: 3 additions & 6 deletions .travis.yml
Expand Up @@ -4,14 +4,11 @@ python:
- 3.6

install:
- pip install -r requirements.txt
- pip install python-igraph louvain # louvain clustering
- pip install docutils
- python setup.py install
- pip install flit
- flit install

env: MPLBACKEND=Agg

script:
- pytest
- python setup.py check --restructuredtext --strict
- rst2html.py --halt=2 README.rst >/dev/null
- rst2html.py --strict README.rst >/dev/null
33 changes: 33 additions & 0 deletions pyproject.toml
@@ -0,0 +1,33 @@
[build-system]
requires = ['flit']
build-backend = 'flit.buildapi'

[tool.flit.metadata]
module = 'scvelo'
author = 'Volker Bergen'
author-email = 'volker.bergen@helmholtz-muenchen.de'
home-page = 'https://scvelo.readthedocs.io'
license = 'BSD'
description-file = 'README.rst'
requires-python = '~=3.6'
requires = [
'numpy',
'scipy',
'scikit-learn~=0.19.1',
'matplotlib~=2.2',
'scanpy~=1.3.1',
'get_version',
'setuptools',
]
requires-extra = { doc = ['docutils'], test = ['pytest', 'loompy'] }
keywords = 'RNAseq singlecell stochastic velocity transcriptomics'
classifiers = [ # https://pypi.org/pypi?%3Aaction=list_classifiers
'License :: OSI Approved :: BSD License',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Visualization',
]
15 changes: 0 additions & 15 deletions requirements.txt

This file was deleted.

7 changes: 3 additions & 4 deletions scvelo/__init__.py
Expand Up @@ -6,8 +6,7 @@
from . import datasets
from . import logging

# version generated by versioneer
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from get_version import get_version
__version__ = get_version(__file__)
del get_version

0 comments on commit c2d7c48

Please sign in to comment.