Skip to content

Commit aac149a

Browse files
committed
3.1.0
Upload the package building script for `mpegCoder`.
0 parents  commit aac149a

File tree

12 files changed

+1634
-0
lines changed

12 files changed

+1634
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
jobs:
16+
deploy:
17+
18+
runs-on: ${{ matrix.os }}
19+
strategy:
20+
matrix:
21+
os: [ubuntu-latest, windows-latest]
22+
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
- name: Set up Python
27+
uses: actions/setup-python@v2
28+
with:
29+
python-version: ${{ matrix.python }}
30+
- name: Install dependencies
31+
run: |
32+
python -m pip install --upgrade pip
33+
pip install setuptools wheel twine
34+
pip install -r requirements.txt
35+
- name: Build package
36+
run: python setup.py bdist_wheel
37+
- name: Publish package
38+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
39+
with:
40+
user: __token__
41+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
# Others
2+
include/*
3+
lib/*
4+
/dependencies/*
5+
.vs/*
6+
.vscode/*
7+
*.pdb
8+
*.pyd
9+
*.ipdb
10+
*.iobj
11+
*.exp
12+
*.log
13+
*.tlog
14+
*.lastbuildstate
15+
unsuccessfulbuild
16+
/MpegCoder/x64/
17+
/mpegCoder/*
18+
19+
# Prerequisites
20+
*.d
21+
22+
# Compiled Object files
23+
*.slo
24+
*.lo
25+
*.o
26+
*.obj
27+
28+
# Precompiled Headers
29+
*.gch
30+
*.pch
31+
32+
# Compiled Dynamic libraries
33+
*.so
34+
*.dylib
35+
*.dll
36+
37+
# Fortran module files
38+
*.mod
39+
*.smod
40+
41+
# Compiled Static libraries
42+
*.lai
43+
*.la
44+
*.a
45+
*.lib
46+
47+
# Executables
48+
*.exe
49+
*.out
50+
*.app
51+
52+
53+
# Byte-compiled / optimized / DLL files
54+
__pycache__/
55+
*.py[cod]
56+
*$py.class
57+
58+
# Distribution / packaging
59+
.Python
60+
build/
61+
develop-eggs/
62+
dist/
63+
downloads/
64+
eggs/
65+
.eggs/
66+
lib/
67+
lib64/
68+
parts/
69+
sdist/
70+
var/
71+
wheels/
72+
pip-wheel-metadata/
73+
share/python-wheels/
74+
*.egg-info/
75+
.installed.cfg
76+
*.egg
77+
MANIFEST
78+
79+
# PyInstaller
80+
# Usually these files are written by a python script from a template
81+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
82+
*.manifest
83+
*.spec
84+
85+
# Installer logs
86+
pip-log.txt
87+
pip-delete-this-directory.txt
88+
89+
# Unit test / coverage reports
90+
htmlcov/
91+
.tox/
92+
.nox/
93+
.coverage
94+
.coverage.*
95+
.cache
96+
nosetests.xml
97+
coverage.xml
98+
*.cover
99+
*.py,cover
100+
.hypothesis/
101+
.pytest_cache/
102+
103+
# Translations
104+
*.mo
105+
*.pot
106+
107+
# Django stuff:
108+
*.log
109+
local_settings.py
110+
db.sqlite3
111+
db.sqlite3-journal
112+
113+
# Flask stuff:
114+
instance/
115+
.webassets-cache
116+
117+
# Scrapy stuff:
118+
.scrapy
119+
120+
# Sphinx documentation
121+
docs/_build/
122+
123+
# PyBuilder
124+
target/
125+
126+
# Jupyter Notebook
127+
.ipynb_checkpoints
128+
129+
# IPython
130+
profile_default/
131+
ipython_config.py
132+
133+
# pyenv
134+
.python-version
135+
136+
# pipenv
137+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
138+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
139+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
140+
# install all needed dependencies.
141+
#Pipfile.lock
142+
143+
# celery beat schedule file
144+
celerybeat-schedule
145+
146+
# SageMath parsed files
147+
*.sage.py
148+
149+
# Environments
150+
.env
151+
.venv
152+
env/
153+
venv/
154+
ENV/
155+
env.bak/
156+
venv.bak/
157+
158+
# Spyder project settings
159+
.spyderproject
160+
.spyproject
161+
162+
# Rope project settings
163+
.ropeproject
164+
165+
# mkdocs documentation
166+
/site
167+
168+
# mypy
169+
.mypy_cache/
170+
.dmypy.json
171+
dmypy.json
172+
173+
# Pyre type checker
174+
.pyre/

0 commit comments

Comments
 (0)