Skip to content

Fix workflow to release on PyPI. #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .conda/bld.bat

This file was deleted.

1 change: 0 additions & 1 deletion .conda/build.sh

This file was deleted.

15 changes: 7 additions & 8 deletions .conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ source:
build:
noarch: python
number: 0
script: {{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt
entry_points:
- pytask = _pytask.cli:cli

Expand All @@ -22,13 +23,6 @@ requirements:
- pip
- setuptools

- attrs >=17.4.0
- click
- click-default-group
- networkx
- pluggy
- pony >=0.7.13

run:
- python >=3.6

Expand All @@ -38,6 +32,7 @@ requirements:
- networkx
- pluggy
- pony >=0.7.13
- colorama # [win]

test:
imports:
Expand All @@ -60,7 +55,11 @@ test:

about:
home: https://github.com/pytask-dev/pytask
license: none
license: MIT
license_file: LICENSE
summary: In its highest aspirations, pytask tries to be pytest as a build system.
description: |
pytask’s main purpose is to facilitate reproducible research by automating workflows
in research projects.
doc_url: https://pytask-dev.readthedocs.io/en/latest
dev_url: https://github.com/pytask-dev/pytask/
5 changes: 1 addition & 4 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: PyPI

on:
push:
branches:
- main
on: push

jobs:
build-n-publish:
Expand Down
2 changes: 1 addition & 1 deletion docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ all releases are available on `Anaconda.org <https://anaconda.org/pytask/pytask>
- :gh:`61` adds many changes to the documentation.
- :gh:`65` adds versioneer to pytask and :gh:`66` corrects the coverage reports which
were deflated due to the new files.
- :gh:`67` prepares pytask to be published on PyPI.
- :gh:`67` prepares pytask to be published on PyPI and :gh:`68` fixes the pipeline.


0.0.11 - 2020-12-27
Expand Down
8 changes: 7 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"Documentation": "https://pytask-dev.readthedocs.io/en/latest",
"Github": "https://github.com/pytask-dev/pytask",
"Tracker": "https://github.com/pytask-dev/pytask/issues",
"Changelog": "https://pytask-dev.readthedocs.io/en/latest/changes.html",
}


Expand All @@ -36,7 +37,11 @@
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
Expand All @@ -51,6 +56,7 @@
"networkx",
"pluggy",
"pony >= 0.7.13",
"colorama;platform_system=='Windows'",
],
python_requires=">=3.6",
entry_points={"console_scripts": ["pytask=_pytask.cli:cli"]},
Expand Down