Skip to content

Commit 9f753b8

Browse files
author
Daniel Nyga
committed
version 1.2.2
1 parent 05a6adf commit 9f753b8

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

Diff for: _version/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
VERSION_MAJOR = 1
2222
VERSION_MINOR = 2
23-
VERSION_PATCH = 1
23+
VERSION_PATCH = 2
2424

2525
VERSION_STRING_FULL = '%s.%s.%s' % (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH)
2626
VERSION_STRING_SHORT = '%s.%s' % (VERSION_MAJOR, VERSION_MINOR)

Diff for: doc/source/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
import sys
1515
import os
1616
import datetime
17+
import pip
18+
pip.main(['install', 'sphinx', 'sphinx_bootstrap_theme', 'sphinxcontrib-bibtex'])
19+
1720
import sphinx_bootstrap_theme
1821

1922
# If extensions (or modules to document with autodoc) are in another directory,
@@ -24,6 +27,7 @@
2427
sys.path.insert(0, os.path.abspath('../..'))
2528
import _version
2629

30+
2731
sys.path.insert(0, os.path.abspath(os.path.join('..', '..', _version.__basedir__)))
2832

2933
print('using', _version.__basedir__)

Diff for: doc/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ your own scripts, see :doc:`apidoc`.
4242
Release notes
4343
^^^^^^^^^^^^^
4444

45-
* Release 1.2.1 (18.12.2017)
45+
* Release 1.2.2 (18.12.2017)
4646

4747
* Support for Python 2 and Python 3
4848
* Release a ``pip``-compliant package

Diff for: setup.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,13 @@ def datapath():
5151
return appdirs.user_data_dir(appname, appauthor)
5252

5353

54+
def description():
55+
try:
56+
with open('README.md') as f:
57+
return f.read()
58+
except:
59+
return 'Markov logic networks in Python. Please visit http://www.pracmln.org'
60+
5461
class myinstall(distutils.command.install.install):
5562

5663
def __init__(self, *args, **kwargs):
@@ -70,9 +77,10 @@ def __init__(self, *args, **kwargs):
7077
data_files=datafiles('examples') + datafiles('3rdparty') + datafiles('libpracmln') + datafiles('etc'),
7178
version=__version__,
7279
description='Markov logic networks in Python',
80+
long_description=description(),
7381
author='Daniel Nyga',
7482
author_email='[email protected]',
75-
url='https://pracmln.org',
83+
url='http://www.pracmln.org',
7684
download_url='https://github.com/danielnyga/pracmln/archive/%s.tar.gz' % __version__,
7785
keywords=['statistical relational learning', 'mln', 'Markov logic networks', 'reasoning', 'probcog'],
7886
classifiers=[

0 commit comments

Comments
 (0)