File tree Expand file tree Collapse file tree 3 files changed +25
-25
lines changed
Expand file tree Collapse file tree 3 files changed +25
-25
lines changed Original file line number Diff line number Diff line change 1717
1818 strategy :
1919 matrix :
20- python-version : [3.6, 3.7, 3.8, 3.9 ]
20+ python-version : ["3.8", "3.9", "3.10", "3.11" ]
2121
2222 steps :
2323 - uses : actions/checkout@v2
2727 python-version : ${{ matrix.python-version }}
2828 - name : Install dev dependencies
2929 run : make install
30+ - name : Lint
31+ run : make lint
3032 - name : test version
31- run : make test- version
32- - name : release to pypi
33- if : matrix.python-version == '3.9'
34- run : make release-pypi
33+ run : make version
34+ - name : publish
35+ if : ${{ matrix.python-version == '3.11' && github.event.head_commit.message == 'release' }}
36+ run : make publish
Original file line number Diff line number Diff line change 44 @fgrep -h " ##" $(MAKEFILE_LIST ) | fgrep -v fgrep | sed -e ' s/\\$$//' | sed -e ' s/##//'
55
66install : # # install packages in virtualenv
7- @pip install -r requirements-dev.txt
7+ @pip install -U pip poetry
8+ @poetry install
89
910lint : # # run linters
1011 poetry run ./lint
1112
1213version : # # display software version
1314 @python -c " import pyslink; print(pyslink.__version__)"
1415
15- release-pypi : # # release to pypi and github tag
16- python setup.py sdist
17- twine upload dist/* --username lsbardel --password $(PYPI_PASSWORD )
16+ publish : # # release to pypi
17+ @poetry publish --build -u lsbardel -p $(PYPI_PASSWORD )
Original file line number Diff line number Diff line change 1- pyslink
2- ========
1+ # pyslink
2+
3+ [ ![ PyPI version] ( https://badge.fury.io/py/pyslink.svg )] ( https://badge.fury.io/py/pyslink )
4+ [ ![ Python versions] ( https://img.shields.io/pypi/pyversions/pyslink.svg )] ( https://pypi.org/project/pyslink )
5+ [ ![ release] ( https://github.com/quantmind/pyslink/actions/workflows/release.yml/badge.svg )] ( https://github.com/quantmind/pyslink/actions/workflows/release.yml )
6+ [ ![ Downloads] ( https://img.shields.io/pypi/dd/pyslink.svg )] ( https://pypi.org/project/pyslink/ )
37
4- | pyversions| | status|
58
69Soft link a file/directory with python site-packages directory.
710Useful during development.
811
9- Installation via pip::
10-
11- pip install pyslink
12-
13- Soft link a package::
14-
15- pyslink path/to/main/module
16-
17-
18- .. |pyversions| image:: https://img.shields.io/pypi/pyversions/pyslink.svg
19- :target: https://pypi.python.org/pypi/pyslink
20- .. |status| image:: https://img.shields.io/pypi/status/pyslink.svg
21- :target: https://pypi.python.org/pypi/pyslink
12+ Installation via pip:
13+ ``` bash
14+ pip install pyslink
15+ ```
16+ Soft link a package:
17+ ``` bash
18+ pyslink path/to/main/module
19+ ```
You can’t perform that action at this time.
0 commit comments