Skip to content

Commit 26dfb12

Browse files
authored
Fix workflow to release on PyPI. (#68)
1 parent c716fb1 commit 26dfb12

File tree

6 files changed

+16
-17
lines changed

6 files changed

+16
-17
lines changed

.conda/bld.bat

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

.conda/build.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

.conda/meta.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ source:
1212
build:
1313
noarch: python
1414
number: 0
15+
script: {{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt
1516
entry_points:
1617
- pytask = _pytask.cli:cli
1718

@@ -22,13 +23,6 @@ requirements:
2223
- pip
2324
- setuptools
2425

25-
- attrs >=17.4.0
26-
- click
27-
- click-default-group
28-
- networkx
29-
- pluggy
30-
- pony >=0.7.13
31-
3226
run:
3327
- python >=3.6
3428

@@ -38,6 +32,7 @@ requirements:
3832
- networkx
3933
- pluggy
4034
- pony >=0.7.13
35+
- colorama # [win]
4136

4237
test:
4338
imports:
@@ -60,7 +55,11 @@ test:
6055

6156
about:
6257
home: https://github.com/pytask-dev/pytask
63-
license: none
58+
license: MIT
59+
license_file: LICENSE
6460
summary: In its highest aspirations, pytask tries to be pytest as a build system.
61+
description: |
62+
pytask’s main purpose is to facilitate reproducible research by automating workflows
63+
in research projects.
6564
doc_url: https://pytask-dev.readthedocs.io/en/latest
6665
dev_url: https://github.com/pytask-dev/pytask/

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: PyPI
22

3-
on:
4-
push:
5-
branches:
6-
- main
3+
on: push
74

85
jobs:
96
build-n-publish:

docs/changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ all releases are available on `Anaconda.org <https://anaconda.org/pytask/pytask>
1515
- :gh:`61` adds many changes to the documentation.
1616
- :gh:`65` adds versioneer to pytask and :gh:`66` corrects the coverage reports which
1717
were deflated due to the new files.
18-
- :gh:`67` prepares pytask to be published on PyPI.
18+
- :gh:`67` prepares pytask to be published on PyPI and :gh:`68` fixes the pipeline.
1919

2020

2121
0.0.11 - 2020-12-27

setup.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"Documentation": "https://pytask-dev.readthedocs.io/en/latest",
1717
"Github": "https://github.com/pytask-dev/pytask",
1818
"Tracker": "https://github.com/pytask-dev/pytask/issues",
19+
"Changelog": "https://pytask-dev.readthedocs.io/en/latest/changes.html",
1920
}
2021

2122

@@ -36,7 +37,11 @@
3637
"Environment :: Console",
3738
"Intended Audience :: Science/Research",
3839
"License :: OSI Approved :: MIT License",
39-
"Operating System :: OS Independent",
40+
"Operating System :: MacOS :: MacOS X",
41+
"Operating System :: Microsoft :: Windows",
42+
"Operating System :: POSIX",
43+
"Programming Language :: Python :: 3",
44+
"Programming Language :: Python :: 3 :: Only",
4045
"Programming Language :: Python :: 3.6",
4146
"Programming Language :: Python :: 3.7",
4247
"Programming Language :: Python :: 3.8",
@@ -51,6 +56,7 @@
5156
"networkx",
5257
"pluggy",
5358
"pony >= 0.7.13",
59+
"colorama;platform_system=='Windows'",
5460
],
5561
python_requires=">=3.6",
5662
entry_points={"console_scripts": ["pytask=_pytask.cli:cli"]},

0 commit comments

Comments
 (0)