Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit 8e93446

Browse files
committed
update
1 parent f45d159 commit 8e93446

File tree

7 files changed

+27
-25
lines changed

7 files changed

+27
-25
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
All notable changes to this project will be documented in this file.
33

44
## Unreleased
5-
## v1.4.4 - 2019, Feb 28
5+
## v1.4.4 - 2019, March 1
66
### Changed
77
- The previous host for the gringo/clasp binaries no longer works.
88
We changed the download path again to the assets of the github release. Older versions won't install properly.
@@ -24,11 +24,11 @@ All notable changes to this project will be documented in this file.
2424
### Added,
2525
- Include gringo4 available via the class Gringo4Clasp,
2626
supporting the new gringo4 syntax.
27-
27+
2828
## v1.4.0 - 2014, Nov 11
2929
### Changed
3030
- port to python 3
31-
31+
3232
## v1.3.3 - 2014, May 21
3333
### Changed
3434
- switch to use clasp version 3.0.5
@@ -42,13 +42,13 @@ All notable changes to this project will be documented in this file.
4242
### Removed
4343
- removed number of models argument from run method of GringoClasp
4444
The number of models can now be determined like a regular clasp option
45-
45+
4646
## Undocumented versions
4747
- 1.3.0
4848
- 1.3
4949
- 1.2.1
5050
- 1.2
5151
- 1.1.7
52-
- 1.1.6dev
53-
- 1.1dev
52+
- 1.1.6dev
53+
- 1.1dev
5454
- 1.0dev

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
include pyasp/bin/*.txt
2+
include CHANGELOG.md
3+
include README.md

README

Lines changed: 0 additions & 17 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
PyASP is distributed under the GNU Public Licence, see file COPYING for
2+
details.
3+
4+
# Installation
5+
6+
7+
You can install pyasp by running:
8+
9+
> pip3 install --user pyasp
10+
11+
12+
# Tutorial
13+
14+
A tiny tutorial explaining the basics on how to use the library can be found [here](https://sthiele.github.io/posts/2015/october/pyasp_intro.html).

pyasp/misc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
import inspect
1919
import locale
20+
import os
2021
import sys
22+
import tempfile
2123

2224

2325
def debug(s):

pyasp_demo.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"# PyASP basics\n",
88
"\n",
9-
"In the following I try to explain the basics on how to use the PyASP library. I assume that pyasp is already installed on your system. This tutorial has been tested with Python 3 and pyasp 1.4.1. You can download the logic programs that are used in this example here -> [queens.lp](http://sthiele.github.io/data/queens.lp) and [facts.lp](http://sthiele.github.io/data/facts.lp). \n"
9+
"In the following I try to explain the basics on how to use the PyASP library. I assume that pyasp is already installed on your system. This tutorial has been tested with Python 3 and pyasp 1.4.4. You can download the logic programs that are used in this example here -> [queens.lp](http://sthiele.github.io/data/queens.lp) and [facts.lp](http://sthiele.github.io/data/facts.lp). \n"
1010
]
1111
},
1212
{

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ def run(self):
148148
url='http://pypi.python.org/pypi/pyasp/',
149149
license='GPLv3+',
150150
description='A convenience wrapper for the ASP tools gringo, gringo4 and clasp.',
151-
long_description=open('README').read(),
151+
long_description=open('README.md').read(),
152+
long_description_content_type="text/markdown",
152153
author='Sven Thiele',
153154
author_email='[email protected]',
154155
zip_safe=False, # not zippable because of the binary retrieving

0 commit comments

Comments
 (0)