Skip to content

Commit 68d0cd3

Browse files
committed
prepare for packaging on pypi
1 parent 35b1d3b commit 68d0cd3

4 files changed

Lines changed: 61 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ on: [push]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
python-version: [3.6, 3.7, 3.8, pypy-3.6]
12+
exclude:
13+
- os: macos-latest
14+
python-version: 3.8
15+
- os: windows-latest
16+
python-version: 3.6
817

918
steps:
1019
- uses: actions/checkout@v2

.github/workflows/format.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ on:
44
branches: [main]
55
jobs:
66
format:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
python-version: [3.6, 3.7, 3.8, pypy-3.6]
12+
exclude:
13+
- os: macos-latest
14+
python-version: 3.8
15+
- os: windows-latest
16+
python-version: 3.6
817
steps:
918
- uses: actions/checkout@v2
1019
with:

.github/workflows/tests.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ on: [push]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [ubuntu-latest, macos-latest, windows-latest]
11+
python-version: [3.6, 3.7, 3.8, pypy-3.6]
12+
exclude:
13+
- os: macos-latest
14+
python-version: 3.8
15+
- os: windows-latest
16+
python-version: 3.6
817

918
steps:
1019
- uses: actions/checkout@v2
@@ -34,7 +43,16 @@ jobs:
3443
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
3544
3645
test:
37-
runs-on: ubuntu-latest
46+
runs-on: ${{ matrix.os }}
47+
strategy:
48+
matrix:
49+
os: [ubuntu-latest, macos-latest, windows-latest]
50+
python-version: [3.6, 3.7, 3.8, pypy-3.6]
51+
exclude:
52+
- os: macos-latest
53+
python-version: 3.8
54+
- os: windows-latest
55+
python-version: 3.6
3856
steps:
3957
- uses: actions/checkout@v2
4058
- name: Set up Python 3.7

setup.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import setuptools
2+
3+
with open("README.md", "r", encoding="utf-8") as fh:
4+
long_description = fh.read()
5+
6+
setuptools.setup(
7+
name="pythonpddl-guilyx", # Replace with your own username
8+
version="0.2.0",
9+
author="Erwin Lejeune",
10+
author_email="erwinlejeune.pro@gmail.com",
11+
description="PythonPDDL is a PDDL planner built on top of a Julia parser",
12+
long_description=long_description,
13+
long_description_content_type="text/markdown",
14+
url="https://github.com/apla-toolbox/pythonpddl",
15+
packages=setuptools.find_packages(),
16+
classifiers=[
17+
"Programming Language :: Python :: 3",
18+
"License :: OSI Approved :: Apache Software License",
19+
"Operating System :: OS Independent",
20+
],
21+
python_requires='>=3.6',

0 commit comments

Comments
 (0)