Skip to content

Commit

Permalink
test_coverage and Manifest.in and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
markur4 committed Nov 17, 2023
1 parent 178f60f commit fbe208b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: test coverage
run-name: ${{ github.actor }} ${{ github.event_name }}; Setup env, run tests, upload coverage
run-name: ${{ github.actor }} ${{ github.event_name }}; Setup testenv, run tests, upload coverage

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
name: Setup environment, run tests, upload coverage
name: Setup testenv, run tests, upload coverage
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
Expand Down
6 changes: 6 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
include LICENSE
include README.md
include How_To_Use/*.ipynb
include tests/pytest.ini
include tests/*.py
include tests/*_test/*.py
include src/plotastic/py.typed
include src/plotastic/dataanalysis/py.typed
include src/plotastic/example_data/data/*xlsx
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,21 @@
# == Package Structure =============================================
### Automatically find all packages in src
# * Those that have an __init__.py AND match the name of the package
packages=find_packages(where="src", include=[NAME, NAME + ".*"]),
packages=find_packages(
where="src",
include=[
NAME, #- src/plotastic
NAME + ".*", #- src/plotastic.* (subpackages)
],
),
### Define location of all packages.
package_dir={
"": "src", # * "" is the package root (where setup.py is)
# NAME: "src/" + NAME,
# "dataanalysis": "src/plotastic/dataanalysis",
},
# == Non .py Files =================================================
include_package_data=True # * Include non .py files specified in MANIFEST.in
include_package_data=True # * Include non .py files specified in MANIFEST.in
### Required files (e.g. py.typed, documentation...)
# package_data={
# "": [f"py.typed"], # * "" is the package root (where setup.py is)
Expand Down

0 comments on commit fbe208b

Please sign in to comment.