Skip to content

Commit a502e2f

Browse files
authored
Merge pull request #2924 from ColCarroll/update_setup
Update short and long descriptions in setup.py
2 parents 5899381 + 380d50a commit a502e2f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

setup.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env python
2+
from codecs import open
23
from os.path import realpath, dirname, join
34
from setuptools import setup, find_packages
45
import sys
56

67

78
DISTNAME = 'pymc3'
8-
DESCRIPTION = "PyMC3"
9-
LONG_DESCRIPTION = """Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC), is an increasingly relevant approach to statistical estimation. However, few statistical software packages implement MCMC samplers, and they are non-trivial to code by hand. ``pymc3`` is a python package that implements the Metropolis-Hastings algorithm as a python class, and is extremely flexible and applicable to a large suite of problems. ``pymc3`` includes methods for summarizing output, plotting, goodness-of-fit and convergence diagnostics."""
9+
DESCRIPTION = "Probabilistic Programming in Python: Bayesian Modeling and Probabilistic Machine Learning with Theano"
1010
AUTHOR = 'PyMC Developers'
1111
AUTHOR_EMAIL = '[email protected]'
1212
URL = "http://github.com/pymc-devs/pymc3"
@@ -28,6 +28,11 @@
2828
'Operating System :: OS Independent']
2929

3030
PROJECT_ROOT = dirname(realpath(__file__))
31+
32+
# Get the long description from the README file
33+
with open(join(PROJECT_ROOT, 'README.rst'), encoding='utf-8') as buff:
34+
LONG_DESCRIPTION = buff.read()
35+
3136
REQUIREMENTS_FILE = join(PROJECT_ROOT, 'requirements.txt')
3237

3338
with open(REQUIREMENTS_FILE) as f:

0 commit comments

Comments
 (0)