diff options
author | jaseg <git@jaseg.de> | 2022-06-12 21:37:31 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-12 21:37:31 +0200 |
commit | 9e898ceefbc228bbfbdf81d793fb158a8a4876ca (patch) | |
tree | 88dae32023ea92d9a32699e2a87f44d5698c3efc | |
parent | 0d967895af03c181466af2b9b6e23270810710d3 (diff) | |
download | gerbonara-0.10.6.tar.gz gerbonara-0.10.6.tar.bz2 gerbonara-0.10.6.zip |
ci: build and upload sdistsv0.10.6
-rw-r--r-- | .coveragerc | 8 | ||||
-rw-r--r-- | .github/workflows/pcb-tools.yml | 45 | ||||
-rw-r--r-- | .gitlab-ci.yml | 4 | ||||
-rw-r--r-- | .pypirc | 12 | ||||
-rw-r--r-- | MANIFEST.in | 13 | ||||
-rw-r--r-- | setup.py | 1 |
6 files changed, 16 insertions, 67 deletions
diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 3399dbe..0000000 --- a/.coveragerc +++ /dev/null @@ -1,8 +0,0 @@ -[run] -branch = True -source = gerber - -[report] -ignore_errors = True -omit = - gerber/tests/* diff --git a/.github/workflows/pcb-tools.yml b/.github/workflows/pcb-tools.yml deleted file mode 100644 index feb0a74..0000000 --- a/.github/workflows/pcb-tools.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: pcb-tools - -on: [push, pull_request] - -jobs: - test: - strategy: - fail-fast: false - matrix: - python-version: [3.5, 3.6, 3.7, 3.8] - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - pip install -r requirements-dev.txt - - name: Test with pytest - run: | - pytest - coverage: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 - with: - python-version: 3.8 - - name: Install dependencies - run: | - pip install -r requirements-dev.txt - - name: Run coverage - run: | - make test-coverage - - uses: codecov/codecov-action@v1 - with: - token: ${{ secrets.CODECOV_TOKEN }} - file: ./coverage.xml - flags: unittest diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a14ed8f..08d8d86 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,11 +15,11 @@ build:archlinux: script: - git config --global --add safe.directory "$CI_PROJECT_DIR" - pip3 install --user wheel - - python3 setup.py bdist_wheel + - python3 setup.py sdist bdist_wheel artifacts: name: "gerbolyze-$CI_COMMIT_REF_NAME-gerbonara" paths: - - dist/*.whl + - dist/* #test:archlinux: # stage: test diff --git a/.pypirc b/.pypirc deleted file mode 100644 index 6fc43db..0000000 --- a/.pypirc +++ /dev/null @@ -1,12 +0,0 @@ -[distutils] -index-servers = - pypi - testpypi - -[pypi] -username = __token__ -password = ${env.PYPI_TOKEN} - -[testpypi] -username = __token__ -password = ${env.TESTPYPI_TOKEN} diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..3982e6a --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,13 @@ +global-exclude * + +include README.md +include LICENSE +include MANIFEST.in +include setup.py +graft gerbonara +graft docs +graft examples + +prune gerbonara/tests +prune **/__pycache__ +prune docs/_build @@ -30,6 +30,7 @@ setup( 'Tracker': 'https://gitlab.com/gerbolyze/gerbonara/issues', }, packages=find_packages(exclude=['tests']), + exclude_package_data={'gerbonara': ['.gitignore']}, install_requires=['click'], entry_points={ 'console_scripts': [ |