-
Notifications
You must be signed in to change notification settings - Fork 0
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
9 changed files
with
94 additions
and
19 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
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/ | ||
*.egg-info/ | ||
.mypy_cache | ||
.pytest_cache | ||
pymvr.egg-info/ | ||
devel/ |
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,4 @@ | ||
### Changelog | ||
|
||
#### Version 0.1.0 | ||
* Initial release |
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
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,3 @@ | ||
from collections import namedtuple | ||
from typing import List, Union | ||
|
||
|
||
|
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,21 @@ | ||
from setuptools import setup | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name='pymvr', | ||
version='0.0.1', | ||
description='My Virtual Rig library', | ||
long_description='Basic library for interfacing with the My Virtual Rig format developed by MA, Robe and ' | ||
'Vectorworks. For more information on the format see gdtf-share.com', | ||
license='MIT', | ||
author='vanous', | ||
author_email='noreply@nodomain.com', | ||
packages=['pymvr'] | ||
name="pymvr", | ||
version="0.1.0", | ||
long_description=long_description, | ||
description="My Virtual Rig library for Python", | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/open-stage/python-mvr", | ||
license="MIT", | ||
author="vanous", | ||
author_email="noreply@nodomain.com", | ||
packages=["pymvr"], | ||
project_urls={ | ||
"Source": "https://github.com/open-stage/python-mvr", | ||
"Changelog": "https://github.com/open-stage/python-mvr/blob/master/CHANGELOG.md", | ||
}, | ||
) |