-
Notifications
You must be signed in to change notification settings - Fork 1
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
6 changed files
with
112 additions
and
14 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,22 @@ | ||
name: Check links in markdown | ||
|
||
on: push | ||
|
||
jobs: | ||
test_links_in_readme: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: List files | ||
run: ls -la | ||
- uses: docker://pandoc/core:2.9 | ||
with: | ||
args: >- # allows you to break string into multiple lines | ||
--standalone | ||
--from markdown | ||
--output=readme.html | ||
README.md | ||
- name: Run htmltest | ||
uses: wjdp/htmltest-action@master | ||
with: | ||
path: readme.html |
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,8 @@ | ||
build | ||
dist | ||
__pycache__ | ||
.python-version | ||
build/ | ||
.mypy_cache | ||
.pytest_cache | ||
devel/ | ||
*.egg-info/ |
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,25 @@ | ||
### Changelog | ||
|
||
#### Version 1.0.3 | ||
* First release under Open-Stage organization | ||
* add CI/CD pytest testing + mypy | ||
* Separating helper methods into utils | ||
* support Geometry References | ||
* complexity calculation | ||
* support Virtual Channels | ||
* Additional supported objects | ||
* DataVersion, MediaServerCamera, Inventory | ||
* Wiring Object, DMX Break Overwrite, Geometry Reference | ||
* MediaServerLayer, MediaServerMaster | ||
* Many additional improvements and fixes | ||
* more type hints | ||
* default values to ColorCIE | ||
* handle missing data (thumbnails, models) | ||
* add extension to models | ||
* added 1.1 PrimitiveTypes | ||
|
||
#### Version 1.0.2 | ||
* Last release to pypi.org from the original author | ||
|
||
#### Version 0.1.0 | ||
* First release to pypi.org |
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
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,25 @@ | ||
## Releasing to pypi | ||
|
||
* update CHANGELOG.md | ||
* increment version in setup.py | ||
* push to master (via PR) | ||
* `git tag versionCode` | ||
* `git push origin versionCode` | ||
|
||
* generate wheel: | ||
|
||
```bash | ||
python3 setup.py sdist bdist_wheel | ||
``` | ||
* test upload to TestPypi with twine | ||
* use `__token__` for username and a token for password | ||
|
||
```bash | ||
python -m twine upload --repository testpypi dist/* --verbose | ||
``` | ||
|
||
* release to official pypi: | ||
|
||
```bash | ||
python -m twine upload dist/* | ||
``` |
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,14 +1,22 @@ | ||
from setuptools import setup | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
|
||
setup( | ||
name="pygdtf", | ||
version="1.0.1", | ||
description="General Device Type Format library", | ||
long_description="Basic library for interfacing with the General Device Type Format developed by MA, Robe and " | ||
"Vectorworks. For more information on the format see gdtf-share.com", | ||
version="1.0.3", | ||
description="General Device Type Format library for Python", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
license="MIT", | ||
author="Jack Page", | ||
author_email="jdpboc98@gmail.com", | ||
author="Jack Page, vanous", | ||
author_email="noreply@nodomain.com", | ||
packages=["pygdtf", "pygdtf.utils"], | ||
url="https://github.com/open-stage/python-gdtf", | ||
project_urls={ | ||
"Source": "https://github.com/open-stage/python-gdtf", | ||
"Changelog": "https://github.com/open-stage/python-gdtf/blob/master/CHANGELOG.md", | ||
}, | ||
) |