Skip to content
Permalink
Browse files

Use README.rst as long description in setup.py (#411)

* Use README.rst as long description in setup.py
* twine check of README on travis
  • Loading branch information...
alubbock committed Feb 20, 2019
1 parent 0f24ce8 commit d3af6f1a4f1753ea2dd239d191efc256f929ec7a
Showing with 9 additions and 6 deletions.
  1. +3 −1 .travis.yml
  2. +6 −5 setup.py
@@ -16,13 +16,15 @@ before_install:
pydot coveralls mock cython
- if [[ $PYVER == 2.7 ]]; then pip install weave; fi
- if [[ $PYVER == 3.7 ]]; then pip install python-libsbml; else conda install --yes -c SBMLTeam python-libsbml; fi
- pip install libroadrunner
- pip install libroadrunner twine
- mkdir -p ~/.config/matplotlib
- echo "backend:Agg" > ~/.config/matplotlib/matplotlibrc
# Install BioNetGen, Kappa, StochKit and Atomizer
- conda install --yes -c alubbock kappa stochkit bionetgen atomizer
install:
python setup.py build --build-lib=build/lib
before_script:
python setup.py sdist && twine check dist/*
script:
nosetests build/lib/pysb --with-coverage --cover-inclusive
--cover-package=build/lib/pysb -a '!gpu'
@@ -2,20 +2,21 @@
use_setuptools()
from setuptools import setup
import versioneer
import os


def main():
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.rst'), 'r') as f:
long_description = f.read()

cmdclass = versioneer.get_cmdclass()

setup(name='pysb',
version=versioneer.get_version(),
description='Python Systems Biology modeling framework',
long_description='PySB (pronounced "Pie Ess Bee") is a framework ' + \
'for building rule-based mathematical models of biochemical ' + \
'systems. It works nicely with scientific Python libraries ' + \
'such as NumPy, SciPy and SymPy for model simulation and ' + \
'analysis.',
long_description=long_description,
long_description_content_type='text/x-rst',
author='Jeremy Muhlich',
author_email='jmuhlich@bitflood.org',
url='http://pysb.org/',

0 comments on commit d3af6f1

Please sign in to comment.
You can’t perform that action at this time.