This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
name: Publish 🐍 to PyPI | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
build-n-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Build | ||
run: | | ||
pip install wheel | ||
python setup.py build sdist bdist_wheel | ||
- name: Publish distribution 📦 to PyPI | ||
uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
- name: Create release in GitHub | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
# This token is provided by Actions, you do not need to create your own token | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: ${{ github.ref }} | ||
draft: true | ||
prerelease: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Changelog | ||
|
||
### 1.0.0 beta 1 | ||
|
||
* Drop Python 2 support (**breaking change**) [PR #26](https://github.com/egnyte/python-egnyte/pull/26) | ||
* Revamped `egnyte.resources.Search` to use v2 API. [PR #23](https://github.com/egnyte/python-egnyte/pull/23) | ||
* HTTP requests will be retried thrice on connection and timeout errors before giving up. [PR #22](https://github.com/egnyte/python-egnyte/pull/22) | ||
* Get files versions information. [PR #11](https://github.com/egnyte/python-egnyte/pull/11) | ||
* Fixed `get_permissions` from querying for users if groups is set. Now queries for groups if group is set. [PR #10](https://github.com/egnyte/python-egnyte/pull/10) | ||
* Fixed `egnyte.base.get_access_token`. [PR #20](https://github.com/egnyte/python-egnyte/pull/20) | ||
|
||
Thanks to [@jgvilly](https://github.com/jgvilly), [@vijayendra](https://github.com/vijayendra) and [@raees-khan](https://github.com/raees-khan) for their contributions! | ||
|
||
### < 1.0.0 | ||
|
||
Please see the descriptions in [Github Releases's](https://github.com/egnyte/python-egnyte/releases). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2014 Egnyte, Inc. | ||
Copyright (c) 2014-2021 Egnyte, Inc. | ||
|
||
MIT License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
args = dict( | ||
name='egnyte', | ||
version='0.5.3', | ||
version='1.0.0b1', | ||
author='Egnyte', | ||
author_email='[email protected]', | ||
license='MIT', | ||
|
@@ -23,6 +23,7 @@ | |
"requests>=2.13.0,<3", | ||
], | ||
platforms=["Any"], | ||
python_requires='>=3.6, <3.10', | ||
classifiers=[ | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
|