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

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

Merged
merged 2 commits into from Feb 20, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -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/',
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.