pax_global_header00006660000000000000000000000064146230620650014516gustar00rootroot0000000000000052 comment=6caa4668b9c48bedadbabb25050c34f82ac8a954 whey-pth-0.0.6/000077500000000000000000000000001462306206500132665ustar00rootroot00000000000000whey-pth-0.0.6/.bumpversion.cfg000066400000000000000000000011401462306206500163720ustar00rootroot00000000000000[bumpversion] current_version = 0.0.6 commit = True tag = True [bumpversion:file:pyproject.toml] search = version = "{current_version}" replace = version = "{new_version}" [bumpversion:file:repo_helper.yml] [bumpversion:file:README.rst] [bumpversion:file:doc-source/index.rst] [bumpversion:file:whey_pth/__init__.py] search = : str = "{current_version}" replace = : str = "{new_version}" [bumpversion:file:setup.cfg] search = version = {current_version} replace = version = {new_version} [bumpversion:file:.github/workflows/conda_ci.yml] search = ={current_version}=py_1 replace = ={new_version}=py_1 whey-pth-0.0.6/.github/000077500000000000000000000000001462306206500146265ustar00rootroot00000000000000whey-pth-0.0.6/.github/ISSUE_TEMPLATE/000077500000000000000000000000001462306206500170115ustar00rootroot00000000000000whey-pth-0.0.6/.github/ISSUE_TEMPLATE/bug_report.md000066400000000000000000000022311462306206500215010ustar00rootroot00000000000000--- name: Bug report about: Create a report to help us improve labels: bug assignees: domdfcoding --- ## Description ## Steps to Reproduce 1. 2. 3. ## Actual result: ## Expected result: ## Reproduces how often: ## Version * Operating System: * Python: * whey-pth: ## Installation source ## Other Additional Information: whey-pth-0.0.6/.github/ISSUE_TEMPLATE/feature_request.md000066400000000000000000000012141462306206500225340ustar00rootroot00000000000000--- name: Feature request about: Suggest an idea for this project labels: "enhancement" assignees: domdfcoding --- ## Description ## Version * Operating System: * Python: * whey-pth: ## Other Additional Information: whey-pth-0.0.6/.github/auto_assign.yml000066400000000000000000000003471462306206500176710ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- addReviewers: true addAssignees: true reviewers: - domdfcoding numberOfReviewers: 0 # more settings at https://github.com/marketplace/actions/auto-assign-action whey-pth-0.0.6/.github/dependabot.yml000066400000000000000000000003351462306206500174570ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- version: 2 updates: - package-ecosystem: pip directory: / schedule: interval: weekly open-pull-requests-limit: 0 reviewers: - domdfcoding whey-pth-0.0.6/.github/milestones.py000077500000000000000000000012401462306206500173620ustar00rootroot00000000000000#!/usr/bin/env python # stdlib import os import sys # 3rd party from github3 import GitHub from github3.repos import Repository from packaging.version import InvalidVersion, Version latest_tag = os.environ["GITHUB_REF_NAME"] try: current_version = Version(latest_tag) except InvalidVersion: sys.exit() gh: GitHub = GitHub(token=os.environ["GITHUB_TOKEN"]) repo: Repository = gh.repository(*os.environ["GITHUB_REPOSITORY"].split('/', 1)) for milestone in repo.milestones(state="open"): try: milestone_version = Version(milestone.title) except InvalidVersion: continue if milestone_version == current_version: sys.exit(not milestone.update(state="closed")) whey-pth-0.0.6/.github/stale.yml000066400000000000000000000040211462306206500164560ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. # Configuration for probot-stale - https://github.com/probot/stale --- # Number of days of inactivity before an Issue or Pull Request becomes stale daysUntilStale: 180 # Number of days of inactivity before an Issue or Pull Request with the stale label is closed. # Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale. daysUntilClose: false # Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled) onlyLabels: [] # Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable exemptLabels: - pinned - security - "[Status] Maybe Later" # Set to true to ignore issues in a project (defaults to false) exemptProjects: false # Set to true to ignore issues in a milestone (defaults to false) exemptMilestones: false # Set to true to ignore issues with an assignee (defaults to false) exemptAssignees: false # Label to use when marking as stale staleLabel: stale # Comment to post when marking as stale. Set to `false` to disable markComment: false # This issue has been automatically marked as stale because it has not had # recent activity. It will be closed if no further activity occurs. Thank you # for your contributions. # Comment to post when removing the stale label. # unmarkComment: > # Your comment here. # Comment to post when closing a stale Issue or Pull Request. # closeComment: > # Your comment here. # Limit the number of actions per hour, from 1-30. Default is 30 limitPerRun: 30 # Limit to only `issues` or `pulls` # only: issues # Optionally, specify configuration settings that are specific to just 'issues' or 'pulls': # pulls: # daysUntilStale: 30 # markComment: > # This pull request has been automatically marked as stale because it has not had # recent activity. It will be closed if no further activity occurs. Thank you # for your contributions. # issues: # exemptLabels: # - confirmed whey-pth-0.0.6/.github/workflows/000077500000000000000000000000001462306206500166635ustar00rootroot00000000000000whey-pth-0.0.6/.github/workflows/conda_ci.yml000066400000000000000000000036751462306206500211600ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: Conda Tests on: push: branches: ["master"] permissions: contents: read jobs: tests: name: "Conda" runs-on: ubuntu-22.04 defaults: run: shell: bash -l {0} steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Setup Python 🐍 uses: "actions/setup-python@v5" with: python-version: "3.8" - name: Setup Conda uses: conda-incubator/setup-miniconda@v2 with: activate-environment: env conda-build-version: 3.28.4 python-version: "3.8" miniforge-variant: Mambaforge - name: Install dependencies 🔧 run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade "whey-conda" "setuptools!=61.*,<=67.1.0,>=40.6.0" "wheel>=0.34.2" # $CONDA is an environment variable pointing to the root of the miniconda directory $CONDA/bin/conda update -n base conda $CONDA/bin/conda config --add channels conda-forge $CONDA/bin/conda config --add channels domdfcoding - name: "Build and index channel" run: | python -m whey --builder whey_conda --out-dir conda-bld/noarch $CONDA/bin/conda index ./conda-bld || exit 1 - name: "Search for package" run: | $CONDA/bin/conda search -c file://$(pwd)/conda-bld whey-pth $CONDA/bin/conda search -c file://$(pwd)/conda-bld --override-channels whey-pth - name: "Install package" run: | $CONDA/bin/conda install -c file://$(pwd)/conda-bld whey-pth=0.0.6=py_1 -y || exit 1 - name: "Run Tests" run: | rm -rf whey_pth $CONDA/bin/conda install pytest coincidence || exit 1 pip install -r tests/requirements.txt pytest tests/ whey-pth-0.0.6/.github/workflows/docs_test_action.yml000066400000000000000000000015501462306206500227330ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: "Docs Check" on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' pull_request: permissions: contents: read jobs: docs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!tests/**' - name: Install and Build 🔧 uses: sphinx-toolbox/sphinx-action@sphinx-3.3.1 if: steps.changes.outputs.code == 'true' with: pre-build-command: python -m pip install tox docs-folder: "doc-source/" build-command: "tox -e docs -- -W " whey-pth-0.0.6/.github/workflows/flake8.yml000066400000000000000000000023361462306206500205640ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: Flake8 on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' pull_request: permissions: contents: read jobs: Run: name: "Flake8" runs-on: "ubuntu-20.04" steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)' - name: Setup Python 🐍 if: steps.changes.outputs.code == 'true' uses: "actions/setup-python@v5" with: python-version: "3.6" - name: Install dependencies 🔧 if: steps.changes.outputs.code == 'true' run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install tox~=3.0 - name: "Run Flake8" if: steps.changes.outputs.code == 'true' run: "python -m tox -e lint -s false -- --format github" whey-pth-0.0.6/.github/workflows/mypy.yml000066400000000000000000000024501462306206500204050ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: mypy on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' pull_request: permissions: contents: read jobs: Run: name: "mypy / ${{ matrix.os }}" runs-on: ${{ matrix.os }} strategy: matrix: os: ['ubuntu-20.04', 'windows-2019'] fail-fast: false steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)' - name: Setup Python 🐍 if: steps.changes.outputs.code == 'true' uses: "actions/setup-python@v5" with: python-version: "3.6" - name: Install dependencies 🔧 run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0 - name: "Run mypy" if: steps.changes.outputs.code == 'true' run: "python -m tox -e mypy -s false" whey-pth-0.0.6/.github/workflows/octocheese.yml000066400000000000000000000006131462306206500215270ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: "GitHub Releases" on: schedule: - cron: 0 12 * * * jobs: Run: runs-on: ubuntu-latest steps: - uses: domdfcoding/octocheese@master with: pypi_name: "whey-pth" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} if: startsWith(github.ref, 'refs/tags/') != true whey-pth-0.0.6/.github/workflows/python_ci.yml000066400000000000000000000060161462306206500214050ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: Windows on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' pull_request: permissions: actions: write issues: write contents: read jobs: tests: name: "windows-2019 / Python ${{ matrix.config.python-version }}" runs-on: "windows-2019" continue-on-error: ${{ matrix.config.experimental }} env: USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9' strategy: fail-fast: False matrix: config: - {python-version: "3.6", testenvs: "py36,build", experimental: False} - {python-version: "3.7", testenvs: "py37,build", experimental: False} - {python-version: "3.8", testenvs: "py38,build", experimental: False} - {python-version: "3.9", testenvs: "py39,build", experimental: False} - {python-version: "3.10", testenvs: "py310,build", experimental: False} - {python-version: "3.11", testenvs: "py311,build", experimental: False} - {python-version: "3.12", testenvs: "py312,build", experimental: False} - {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True} - {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False} - {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False} - {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False} - {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True} steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)' - name: Setup Python 🐍 id: setup-python if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }} uses: "actions/setup-python@v5" with: python-version: "${{ matrix.config.python-version }}" - name: Install dependencies 🔧 if: steps.setup-python.outcome == 'success' run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0 - name: "Run Tests for Python ${{ matrix.config.python-version }}" if: steps.setup-python.outcome == 'success' run: python -m tox -e "${{ matrix.config.testenvs }}" -s false - name: "Upload Coverage 🚀" uses: actions/upload-artifact@v4 if: ${{ always() && steps.setup-python.outcome == 'success' }} with: name: "coverage-${{ matrix.config.python-version }}" path: .coverage whey-pth-0.0.6/.github/workflows/python_ci_linux.yml000066400000000000000000000174521462306206500226320ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: Linux on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' tags: - '*' pull_request: permissions: actions: write issues: write contents: read jobs: tests: name: "ubuntu-20.04 / Python ${{ matrix.config.python-version }}" runs-on: "ubuntu-20.04" continue-on-error: ${{ matrix.config.experimental }} env: USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9' strategy: fail-fast: False matrix: config: - {python-version: "3.6", testenvs: "py36,build", experimental: False} - {python-version: "3.7", testenvs: "py37,build", experimental: False} - {python-version: "3.8", testenvs: "py38,build", experimental: False} - {python-version: "3.9", testenvs: "py39,build", experimental: False} - {python-version: "3.10", testenvs: "py310,build", experimental: False} - {python-version: "3.11", testenvs: "py311,build", experimental: False} - {python-version: "3.12", testenvs: "py312,build", experimental: False} - {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True} - {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False} - {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False} - {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False} - {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True} steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)' - name: Setup Python 🐍 id: setup-python if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }} uses: "actions/setup-python@v5" with: python-version: "${{ matrix.config.python-version }}" - name: Install dependencies 🔧 if: steps.setup-python.outcome == 'success' run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0 python -m pip install --upgrade coverage_pyver_pragma - name: "Run Tests for Python ${{ matrix.config.python-version }}" if: steps.setup-python.outcome == 'success' run: python -m tox -e "${{ matrix.config.testenvs }}" -s false - name: "Upload Coverage 🚀" uses: actions/upload-artifact@v4 if: ${{ always() && steps.setup-python.outcome == 'success' }} with: name: "coverage-${{ matrix.config.python-version }}" path: .coverage Coverage: needs: tests runs-on: "ubuntu-20.04" steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Setup Python 🐍 uses: "actions/setup-python@v5" with: python-version: 3.8 - name: Install dependencies 🔧 run: | python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade "coveralls>=3.0.0" coverage_pyver_pragma - name: "Download Coverage 🪂" uses: actions/download-artifact@v4 with: path: coverage - name: Display structure of downloaded files id: show run: ls -R working-directory: coverage continue-on-error: true - name: Combine Coverage 👷 if: ${{ steps.show.outcome != 'failure' }} run: | shopt -s globstar python -m coverage combine coverage/**/.coverage - name: "Upload Combined Coverage Artefact 🚀" if: ${{ steps.show.outcome != 'failure' }} uses: actions/upload-artifact@v4 with: name: "combined-coverage" path: .coverage - name: "Upload Combined Coverage to Coveralls" if: ${{ steps.show.outcome != 'failure' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | coveralls --service=github Deploy: needs: tests runs-on: "ubuntu-20.04" steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" if: startsWith(github.ref, 'refs/tags/') - name: Setup Python 🐍 uses: "actions/setup-python@v5" if: startsWith(github.ref, 'refs/tags/') with: python-version: 3.8 - name: Install dependencies 🔧 if: startsWith(github.ref, 'refs/tags/') run: | python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade tox~=3.0 - name: Build distributions 📦 if: startsWith(github.ref, 'refs/tags/') run: | tox -e build - name: Upload distribution to PyPI 🚀 if: startsWith(github.ref, 'refs/tags/') uses: pypa/gh-action-pypi-publish@v1.4.2 with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} skip_existing: true - name: Close milestone 🚪 if: startsWith(github.ref, 'refs/tags/') run: | python -m pip install --upgrade github3.py packaging python .github/milestones.py env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} Conda: needs: deploy runs-on: ubuntu-22.04 if: startsWith(github.ref, 'refs/tags/') || (startsWith(github.event.head_commit.message, 'Bump version') != true) steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Setup Python 🐍 uses: "actions/setup-python@v5" with: python-version: 3.8 - name: Setup Conda uses: conda-incubator/setup-miniconda@v2 with: activate-environment: env conda-build-version: 3.28.4 python-version: "3.8" miniforge-variant: Mambaforge - name: Install dependencies 🔧 run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade "mkrecipe" "setuptools!=61.*,<=67.1.0,>=40.6.0" "wheel>=0.34.2" # $CONDA is an environment variable pointing to the root of the miniconda directory $CONDA/bin/conda config --set always_yes yes --set changeps1 no $CONDA/bin/conda update -n base conda $CONDA/bin/conda info -a $CONDA/bin/conda config --add channels conda-forge $CONDA/bin/conda config --add channels domdfcoding $CONDA/bin/conda config --remove channels defaults - name: Build Conda Package 📦 run: | python -m mkrecipe --type wheel || exit 1 $CONDA/bin/conda build conda -c conda-forge -c domdfcoding --output-folder conda/dist - name: Deploy Conda Package 🚀 if: startsWith(github.ref, 'refs/tags/') run: | $CONDA/bin/conda config --set always_yes yes --set changeps1 no $CONDA/bin/conda install anaconda-client $CONDA/bin/conda info -a for f in conda/dist/noarch/whey-pth-*.tar.bz2; do [ -e "$f" ] || continue echo "$f" conda install "$f" || exit 1 echo "Deploying to Anaconda.org..." $CONDA/bin/anaconda -t "$ANACONDA_TOKEN" upload "$f" || exit 1 echo "Successfully deployed to Anaconda.org." done env: ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} whey-pth-0.0.6/.github/workflows/python_ci_macos.yml000066400000000000000000000056511462306206500225730ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- name: macOS on: push: branches-ignore: - 'repo-helper-update' - 'pre-commit-ci-update-config' - 'imgbot' pull_request: permissions: actions: write issues: write contents: read jobs: tests: name: "macos-13 / Python ${{ matrix.config.python-version }}" runs-on: "macos-13" continue-on-error: ${{ matrix.config.experimental }} env: USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-beta.1,pypy-3.7,pypy-3.8,pypy-3.9' strategy: fail-fast: False matrix: config: - {python-version: "3.6", testenvs: "py36,build", experimental: False} - {python-version: "3.7", testenvs: "py37,build", experimental: False} - {python-version: "3.8", testenvs: "py38,build", experimental: False} - {python-version: "3.9", testenvs: "py39,build", experimental: False} - {python-version: "3.10", testenvs: "py310,build", experimental: False} - {python-version: "3.11", testenvs: "py311,build", experimental: False} - {python-version: "3.12", testenvs: "py312,build", experimental: False} - {python-version: "3.13.0-beta.1", testenvs: "py313-dev,build", experimental: True} - {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False} - {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False} - {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True} steps: - name: Checkout 🛎️ uses: "actions/checkout@v4" - name: Check for changed files if: startsWith(github.ref, 'refs/tags/') != true uses: dorny/paths-filter@v2 id: changes with: list-files: "json" filters: | code: - '!(doc-source/**|CONTRIBUTING.rst|.imgbotconfig|.pre-commit-config.yaml|.pylintrc|.readthedocs.yml)' - name: Setup Python 🐍 id: setup-python if: ${{ steps.changes.outputs.code == 'true' || steps.changes.outcome == 'skipped' }} uses: "actions/setup-python@v5" with: python-version: "${{ matrix.config.python-version }}" - name: Install dependencies 🔧 if: steps.setup-python.outcome == 'success' run: | python -VV python -m site python -m pip install --upgrade pip setuptools wheel python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0 - name: "Run Tests for Python ${{ matrix.config.python-version }}" if: steps.setup-python.outcome == 'success' run: python -m tox -e "${{ matrix.config.testenvs }}" -s false - name: "Upload Coverage 🚀" uses: actions/upload-artifact@v4 if: ${{ always() && steps.setup-python.outcome == 'success' }} with: name: "coverage-${{ matrix.config.python-version }}" path: .coverage whey-pth-0.0.6/.gitignore000066400000000000000000000020161462306206500152550ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. __pycache__/ *.py[cod] *$py.class *.so .Python build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ wheels/ *.egg-info/ .installed.cfg *.egg *.egg* *.manifest *.spec pip-log.txt pip-delete-this-directory.txt htmlcov/ .tox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *.cover .hypothesis/ .pytest_cache/ cover/ *.mo *.pot *.log local_settings.py db.sqlite3 instance/ .webassets-cache .scrapy docs/_build/ doc/build target/ .ipynb_checkpoints .python-version celerybeat-schedule celerybeat.pid *.sage.py .env .venv env/ venv/ ENV/ env.bak/ venv.bak/ .spyderproject .spyproject .ropeproject /site .mypy_cache/ .dmypy.json dmypy.json *.iml *.ipr cmake-build-*/ .idea/**/mongoSettings.xml *.iws out/ atlassian-ide-plugin.xml com_crashlytics_export_strings.xml crashlytics.properties crashlytics-build.properties fabric.properties .idea build **/__pycache__ **/conda __pypackages__/ profile_default/ ipython_config.py Pipfile.lock .pyre/ whey-pth-0.0.6/.imgbotconfig000066400000000000000000000001151462306206500157330ustar00rootroot00000000000000{ "schedule": "weekly", "ignoredFiles": [ "**/*.svg" ] } whey-pth-0.0.6/.pre-commit-config.yaml000066400000000000000000000042421462306206500175510ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. --- exclude: ^$ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/repo-helper/pyproject-parser rev: v0.11.0 hooks: - id: reformat-pyproject - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.4.0 hooks: - id: check-added-large-files - id: check-ast - id: fix-byte-order-marker - id: check-byte-order-marker - id: check-case-conflict - id: check-executables-have-shebangs - id: check-json - id: check-toml - id: check-yaml - id: check-merge-conflict - id: check-symlinks - id: check-vcs-permalinks - id: detect-private-key - id: trailing-whitespace - id: mixed-line-ending - id: end-of-file-fixer - repo: https://github.com/domdfcoding/pre-commit-hooks rev: v0.4.0 hooks: - id: requirements-txt-sorter args: - --allow-git - id: check-docstring-first exclude: ^(doc-source/conf|__pkginfo__|setup|tests/.*)\.py$ - id: bind-requirements - repo: https://github.com/domdfcoding/flake8-dunder-all rev: v0.4.1 hooks: - id: ensure-dunder-all files: ^whey_pth/.*\.py$ - repo: https://github.com/domdfcoding/flake2lint rev: v0.4.3 hooks: - id: flake2lint - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.10.0 hooks: - id: python-no-eval - id: rst-backticks - id: rst-directive-colons - id: rst-inline-touching-normal - repo: https://github.com/asottile/pyupgrade rev: v2.12.0 hooks: - id: pyupgrade args: - --py36-plus - --keep-runtime-typing - repo: https://github.com/Lucas-C/pre-commit-hooks rev: v1.5.1 hooks: - id: remove-crlf - id: forbid-crlf - repo: https://github.com/python-formate/snippet-fmt rev: v0.1.5 hooks: - id: snippet-fmt - repo: https://github.com/python-formate/formate rev: v0.7.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|setup)\.(_)?py$ - repo: https://github.com/domdfcoding/dep_checker rev: v0.8.0 hooks: - id: dep_checker args: - whey_pth # Custom hooks can be added below this comment whey-pth-0.0.6/.pylintrc000066400000000000000000000346201462306206500151400ustar00rootroot00000000000000[MASTER] # Specify a configuration file. #rcfile= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). #init-hook= # Add files or directories to the blacklist. They should be base names, not # paths. ignore=CVS # Add files or directories matching the regex patterns to the blacklist. The # regex matches against base names, not paths. ignore-patterns= # Pickle collected data for later comparisons. persistent=yes # List of plugins (as comma separated values of python modules names) to load, # usually to register additional checkers. load-plugins= # Use multiple processes to speed up Pylint. jobs=1 # Allow loading of arbitrary C extensions. Extensions are imported into the # active Python interpreter and may run arbitrary code. unsafe-load-any-extension=no # A comma-separated list of package or module names from where C extensions may # be loaded. Extensions are loading into the active Python interpreter and may # run arbitrary code extension-pkg-whitelist= # Allow optimization of some AST trees. This will activate a peephole AST # optimizer, which will apply various small optimizations. For instance, it can # be used to obtain the result of joining multiple strings with the addition # operator. Joining a lot of strings can lead to a maximum recursion error in # Pylint and this flag can prevent that. It has one side effect, the resulting # AST will be different than the one from reality. This option is deprecated # and it will be removed in Pylint 2.0. optimize-ast=no [MESSAGES CONTROL] # Only show warnings with the listed confidence levels. Leave empty to show # all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED confidence= # Enable the message, report, category or checker with the given id(s). You can # either give multiple identifier separated by comma (,) or put this option # multiple time (only on the command line, not in the configuration file where # it should appear only once). See also the "--disable" option for examples. #enable= # Disable the message, report, category or checker with the given id(s). You # can either give multiple identifiers separated by comma (,) or put this # option multiple times (only on the command line, not in the configuration # file where it should appear only once).You can also use "--disable=all" to # disable everything first and then reenable specific checks. For example, if # you want to run only the similarities checker, you can use "--disable=all # --enable=similarities". If you want to run only the classes checker, but have # no Warning level messages displayed, use"--disable=all --enable=classes # --disable=W" disable=all enable=assert-on-tuple,astroid-error,bad-except-order,bad-inline-option,bad-option-value,bad-reversed-sequence,bare-except,binary-op-exception,boolean-datetime,catching-non-exception,cell-var-from-loop,confusing-with-statement,consider-merging-isinstance,consider-using-enumerate,consider-using-ternary,continue-in-finally,deprecated-pragma,django-not-available,duplicate-except,duplicate-key,eval-used,exec-used,expression-not-assigned,fatal,file-ignored,fixme,global-at-module-level,global-statement,global-variable-not-assigned,global-variable-undefined,http-response-with-content-type-json,http-response-with-json-dumps,invalid-all-object,invalid-characters-in-docstring,len-as-condition,literal-comparison,locally-disabled,locally-enabled,lost-exception,lowercase-l-suffix,misplaced-bare-raise,missing-kwoa,mixed-line-endings,model-has-unicode,model-missing-unicode,model-no-explicit-unicode,model-unicode-not-callable,multiple-imports,new-db-field-with-default,non-ascii-bytes-literals,nonexistent-operator,not-in-loop,notimplemented-raised,overlapping-except,parse-error,pointless-statement,pointless-string-statement,raising-bad-type,raising-non-exception,raw-checker-failed,redefine-in-handler,redefined-argument-from-local,redefined-builtin,redundant-content-type-for-json-response,reimported,relative-import,return-outside-function,simplifiable-if-statement,singleton-comparison,syntax-error,trailing-comma-tuple,trailing-newlines,unbalanced-tuple-unpacking,undefined-all-variable,undefined-loop-variable,unexpected-line-ending-format,unidiomatic-typecheck,unnecessary-lambda,unnecessary-pass,unnecessary-semicolon,unneeded-not,unpacking-non-sequence,unreachable,unrecognized-inline-option,used-before-assignment,useless-else-on-loop,using-constant-test,wildcard-import,yield-outside-function,useless-return [REPORTS] # Set the output format. Available formats are text, parseable, colorized, msvs # (visual studio) and html. You can also give a reporter class, eg # mypackage.mymodule.MyReporterClass. output-format=text # Put messages in a separate file for each module / package specified on the # command line instead of printing them on stdout. Reports (if any) will be # written in a file name "pylint_global.[txt|html]". This option is deprecated # and it will be removed in Pylint 2.0. files-output=no # Tells whether to display a full report or only the messages reports=no # Python expression which should return a note less than 10 (10 is the highest # note). You have access to the variables errors warning, statement which # respectively contain the number of errors / warnings messages and the total # number of statements analyzed. This is used by the global evaluation report # (RP0004). evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10) # Template used to display messages. This is a python new-style format string # used to format the message information. See doc for all details #msg-template= [BASIC] # Good variable names which should always be accepted, separated by a comma good-names=i,j,k,ex,Run,_ # Bad variable names which should always be refused, separated by a comma bad-names=foo,bar,baz,toto,tutu,tata # Colon-delimited sets of names that determine each other's naming style when # the name regexes allow several styles. name-group= # Include a hint for the correct naming format with invalid-name include-naming-hint=no # List of decorators that produce properties, such as abc.abstractproperty. Add # to this list to register other decorators that produce valid properties. property-classes=abc.abstractproperty # Regular expression matching correct function names function-rgx=[a-z_][a-z0-9_]{2,30}$ # Naming hint for function names function-name-hint=[a-z_][a-z0-9_]{2,30}$ # Regular expression matching correct variable names variable-rgx=[a-z_][a-z0-9_]{2,30}$ # Naming hint for variable names variable-name-hint=[a-z_][a-z0-9_]{2,30}$ # Regular expression matching correct constant names const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$ # Naming hint for constant names const-name-hint=(([A-Z_][A-Z0-9_]*)|(__.*__))$ # Regular expression matching correct attribute names attr-rgx=[a-z_][a-z0-9_]{2,30}$ # Naming hint for attribute names attr-name-hint=[a-z_][a-z0-9_]{2,30}$ # Regular expression matching correct argument names argument-rgx=[a-z_][a-z0-9_]{2,30}$ # Naming hint for argument names argument-name-hint=[a-z_][a-z0-9_]{2,30}$ # Regular expression matching correct class attribute names class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ # Naming hint for class attribute names class-attribute-name-hint=([A-Za-z_][A-Za-z0-9_]{2,30}|(__.*__))$ # Regular expression matching correct inline iteration names inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ # Naming hint for inline iteration names inlinevar-name-hint=[A-Za-z_][A-Za-z0-9_]*$ # Regular expression matching correct class names class-rgx=[A-Z_][a-zA-Z0-9]+$ # Naming hint for class names class-name-hint=[A-Z_][a-zA-Z0-9]+$ # Regular expression matching correct module names module-rgx=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ # Naming hint for module names module-name-hint=(([a-z_][a-z0-9_]*)|([A-Z][a-zA-Z0-9]+))$ # Regular expression matching correct method names method-rgx=[a-z_][a-z0-9_]{2,30}$ # Naming hint for method names method-name-hint=[a-z_][a-z0-9_]{2,30}$ # Regular expression which should only match function or class names that do # not require a docstring. no-docstring-rgx=^_ # Minimum line length for functions/classes that require docstrings, shorter # ones are exempt. docstring-min-length=-1 [ELIF] # Maximum number of nested blocks for function / method body max-nested-blocks=5 [FORMAT] # Maximum number of characters on a single line. max-line-length=159 # Regexp for a line that is allowed to be longer than the limit. ignore-long-lines=^\s*(# )??$ # Allow the body of an if to be on the same line as the test if there is no # else. single-line-if-stmt=no # List of optional constructs for which whitespace checking is disabled. `dict- # separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}. # `trailing-comma` allows a space between comma and closing bracket: (a, ). # `empty-line` allows space-only lines. no-space-check=trailing-comma,dict-separator # Maximum number of lines in a module max-module-lines=1000 # String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 # tab). indent-string=' ' # Number of spaces of indent required inside a hanging or continued line. indent-after-paren=4 # Expected format of line ending, e.g. empty (any line ending), LF or CRLF. expected-line-ending-format= [LOGGING] # Logging modules to check that the string format arguments are in logging # function parameter format logging-modules=logging [MISCELLANEOUS] # List of note tags to take in consideration, separated by a comma. notes=FIXME,XXX,TODO [SIMILARITIES] # Minimum lines number of a similarity. min-similarity-lines=4 # Ignore comments when computing similarities. ignore-comments=yes # Ignore docstrings when computing similarities. ignore-docstrings=yes # Ignore imports when computing similarities. ignore-imports=no [SPELLING] # Spelling dictionary name. Available dictionaries: none. To make it working # install python-enchant package. spelling-dict= # List of comma separated words that should not be checked. spelling-ignore-words= # A path to a file that contains private dictionary; one word per line. spelling-private-dict-file= # Tells whether to store unknown words to indicated private dictionary in # --spelling-private-dict-file option instead of raising a message. spelling-store-unknown-words=no [TYPECHECK] # Tells whether missing members accessed in mixin class should be ignored. A # mixin class is detected if its name ends with "mixin" (case insensitive). ignore-mixin-members=yes # List of module names for which member attributes should not be checked # (useful for modules/projects where namespaces are manipulated during runtime # and thus existing member attributes cannot be deduced by static analysis. It # supports qualified module names, as well as Unix pattern matching. ignored-modules= # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of # qualified names. ignored-classes=optparse.Values,thread._local,_thread._local # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E1101 when accessed. Python regular # expressions are accepted. generated-members= # List of decorators that produce context managers, such as # contextlib.contextmanager. Add to this list to register other decorators that # produce valid context managers. contextmanager-decorators=contextlib.contextmanager [VARIABLES] # Tells whether we should check for unused import in __init__ files. init-import=no # A regular expression matching the name of dummy variables (i.e. expectedly # not used). dummy-variables-rgx=(_+[a-zA-Z0-9]*?$)|dummy # List of additional names supposed to be defined in builtins. Remember that # you should avoid to define new builtins when possible. additional-builtins= # List of strings which can identify a callback function by name. A callback # name must start or end with one of those strings. callbacks=cb_,_cb # List of qualified module names which can have objects that can redefine # builtins. redefining-builtins-modules=six.moves,future.builtins [CLASSES] # List of method names used to declare (i.e. assign) instance attributes. defining-attr-methods=__init__,__new__,setUp # List of valid names for the first argument in a class method. valid-classmethod-first-arg=cls # List of valid names for the first argument in a metaclass class method. valid-metaclass-classmethod-first-arg=mcs # List of member names, which should be excluded from the protected access # warning. exclude-protected=_asdict,_fields,_replace,_source,_make [DESIGN] # Maximum number of arguments for function / method max-args=5 # Argument names that match this expression will be ignored. Default to name # with leading underscore ignored-argument-names=_.* # Maximum number of locals for function / method body max-locals=15 # Maximum number of return / yield for function / method body max-returns=6 # Maximum number of branch for function / method body max-branches=12 # Maximum number of statements in function / method body max-statements=60 # Maximum number of parents for a class (see R0901). max-parents=7 # Maximum number of attributes for a class (see R0902). max-attributes=7 # Minimum number of public methods for a class (see R0903). min-public-methods=2 # Maximum number of public methods for a class (see R0904). max-public-methods=20 # Maximum number of boolean expressions in a if statement max-bool-expr=5 [IMPORTS] # Deprecated modules which should not be used, separated by a comma deprecated-modules=regsub,TERMIOS,Bastion,rexec # Create a graph of every (i.e. internal and external) dependencies in the # given file (report RP0402 must not be disabled) import-graph= # Create a graph of external dependencies in the given file (report RP0402 must # not be disabled) ext-import-graph= # Create a graph of internal dependencies in the given file (report RP0402 must # not be disabled) int-import-graph= # Force import order to recognize a module as part of the standard # compatibility libraries. known-standard-library= # Force import order to recognize a module as part of a third party library. known-third-party=enchant # Analyse import fallback blocks. This can be used to support both Python 2 and # 3 compatible code, which means that the block might have code that exists # only in one or another interpreter, leading to false positives when analysed. analyse-fallback-blocks=no [EXCEPTIONS] # Exceptions that will emit a warning when being caught. Defaults to # "Exception" overgeneral-exceptions=Exception whey-pth-0.0.6/.readthedocs.yml000066400000000000000000000012021462306206500163470ustar00rootroot00000000000000# This file is managed by 'repo_helper'. Don't edit it directly. # Read the Docs configuration file --- version: 2 sphinx: builder: html configuration: doc-source/conf.py formats: - pdf - htmlzip python: install: - requirements: requirements.txt - requirements: doc-source/requirements.txt build: os: ubuntu-20.04 tools: python: '3.9' jobs: post_create_environment: - pip install . post_install: - pip install sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.3 sphinxcontrib-serializinghtml==1.1.5 whey-pth-0.0.6/.style.yapf000066400000000000000000000272001462306206500153660ustar00rootroot00000000000000[style] # Align closing bracket with visual indentation. align_closing_bracket_with_visual_indent=True # Allow dictionary keys to exist on multiple lines. For example: # # x = { # ('this is the first element of a tuple', # 'this is the second element of a tuple'): # value, # } allow_multiline_dictionary_keys=True # Allow lambdas to be formatted on more than one line. allow_multiline_lambdas=False # Allow splitting before a default / named assignment in an argument list. allow_split_before_default_or_named_assigns=True # Allow splits before the dictionary value. allow_split_before_dict_value=True # Let spacing indicate operator precedence. For example: # # a = 1 * 2 + 3 / 4 # b = 1 / 2 - 3 * 4 # c = (1 + 2) * (3 - 4) # d = (1 - 2) / (3 + 4) # e = 1 * 2 - 3 # f = 1 + 2 + 3 + 4 # # will be formatted as follows to indicate precedence: # # a = 1*2 + 3/4 # b = 1/2 - 3*4 # c = (1+2) * (3-4) # d = (1-2) / (3+4) # e = 1*2 - 3 # f = 1 + 2 + 3 + 4 # arithmetic_precedence_indication=False # Number of blank lines surrounding top-level function and class # definitions. blank_lines_around_top_level_definition=2 # Insert a blank line before a class-level docstring. blank_line_before_class_docstring=False # Insert a blank line before a module docstring. blank_line_before_module_docstring=False # Insert a blank line before a 'def' or 'class' immediately nested # within another 'def' or 'class'. For example: # # class Foo: # # <------ this blank line # def method(): # ... blank_line_before_nested_class_or_def=True # Do not split consecutive brackets. Only relevant when # dedent_closing_brackets is set. For example: # # call_func_that_takes_a_dict( # { # 'key1': 'value1', # 'key2': 'value2', # } # ) # # would reformat to: # # call_func_that_takes_a_dict({ # 'key1': 'value1', # 'key2': 'value2', # }) coalesce_brackets=True # The column limit. column_limit=115 # The style for continuation alignment. Possible values are: # # - SPACE: Use spaces for continuation alignment. This is default behavior. # - FIXED: Use fixed number (CONTINUATION_INDENT_WIDTH) of columns # (ie: CONTINUATION_INDENT_WIDTH/INDENT_WIDTH tabs or # CONTINUATION_INDENT_WIDTH spaces) for continuation alignment. # - VALIGN-RIGHT: Vertically align continuation lines to multiple of # INDENT_WIDTH columns. Slightly right (one tab or a few spaces) if # cannot vertically align continuation lines with indent characters. continuation_align_style=VALIGN-RIGHT # Indent width used for line continuations. continuation_indent_width=8 # Put closing brackets on a separate line, dedented, if the bracketed # expression can't fit in a single line. Applies to all kinds of brackets, # including function definitions and calls. For example: # # config = { # 'key1': 'value1', # 'key2': 'value2', # } # <--- this bracket is dedented and on a separate line # # time_series = self.remote_client.query_entity_counters( # entity='dev3246.region1', # key='dns.query_latency_tcp', # transform=Transformation.AVERAGE(window=timedelta(seconds=60)), # start_ts=now()-timedelta(days=3), # end_ts=now(), # ) # <--- this bracket is dedented and on a separate line dedent_closing_brackets=False # Disable the heuristic which places each list element on a separate line # if the list is comma-terminated. disable_ending_comma_heuristic=False # Place each dictionary entry onto its own line. each_dict_entry_on_separate_line=False # Require multiline dictionary even if it would normally fit on one line. # For example: # # config = { # 'key1': 'value1' # } force_multiline_dict=False # The regex for an i18n comment. The presence of this comment stops # reformatting of that line, because the comments are required to be # next to the string they translate. ;i18n_comment= # The i18n function call names. The presence of this function stops # reformattting on that line, because the string it has cannot be moved # away from the i18n comment. ;i18n_function_call= # Indent blank lines. indent_blank_lines=False # Put closing brackets on a separate line, indented, if the bracketed # expression can't fit in a single line. Applies to all kinds of brackets, # including function definitions and calls. For example: # # config = { # 'key1': 'value1', # 'key2': 'value2', # } # <--- this bracket is indented and on a separate line # # time_series = self.remote_client.query_entity_counters( # entity='dev3246.region1', # key='dns.query_latency_tcp', # transform=Transformation.AVERAGE(window=timedelta(seconds=60)), # start_ts=now()-timedelta(days=3), # end_ts=now(), # ) # <--- this bracket is indented and on a separate line indent_closing_brackets=True # Indent the dictionary value if it cannot fit on the same line as the # dictionary key. For example: # # config = { # 'key1': # 'value1', # 'key2': value1 + # value2, # } indent_dictionary_value=True # The number of columns to use for indentation. indent_width=4 # Join short lines into one line. E.g., single line 'if' statements. join_multiple_lines=False # Do not include spaces around selected binary operators. For example: # # 1 + 2 * 3 - 4 / 5 # # will be formatted as follows when configured with "*,/": # # 1 + 2*3 - 4/5 ;no_spaces_around_selected_binary_operators= # Use spaces around default or named assigns. spaces_around_default_or_named_assign=False # Adds a space after the opening '{' and before the ending '}' dict delimiters. # # {1: 2} # # will be formatted as: # # { 1: 2 } spaces_around_dict_delimiters=False # Adds a space after the opening '[' and before the ending ']' list delimiters. # # [1, 2] # # will be formatted as: # # [ 1, 2 ] spaces_around_list_delimiters=False # Use spaces around the power operator. spaces_around_power_operator=False # Use spaces around the subscript / slice operator. For example: # # my_list[1 : 10 : 2] spaces_around_subscript_colon=False # Adds a space after the opening '(' and before the ending ')' tuple delimiters. # # (1, 2, 3) # # will be formatted as: # # ( 1, 2, 3 ) spaces_around_tuple_delimiters=False # The number of spaces required before a trailing comment. # This can be a single value (representing the number of spaces # before each trailing comment) or list of values (representing # alignment column values; trailing comments within a block will # be aligned to the first column value that is greater than the maximum # line length within the block). For example: # # With spaces_before_comment=5: # # 1 + 1 # Adding values # # will be formatted as: # # 1 + 1 # Adding values <-- 5 spaces between the end of the statement and comment # # With spaces_before_comment=15, 20: # # 1 + 1 # Adding values # two + two # More adding # # longer_statement # This is a longer statement # short # This is a shorter statement # # a_very_long_statement_that_extends_beyond_the_final_column # Comment # short # This is a shorter statement # # will be formatted as: # # 1 + 1 # Adding values <-- end of line comments in block aligned to col 15 # two + two # More adding # # longer_statement # This is a longer statement <-- end of line comments in block aligned to col 20 # short # This is a shorter statement # # a_very_long_statement_that_extends_beyond_the_final_column # Comment <-- the end of line comments are aligned based on the line length # short # This is a shorter statement # spaces_before_comment=2 # Insert a space between the ending comma and closing bracket of a list, # etc. space_between_ending_comma_and_closing_bracket=True # Use spaces inside brackets, braces, and parentheses. For example: # # method_call( 1 ) # my_dict[ 3 ][ 1 ][ get_index( *args, **kwargs ) ] # my_set = { 1, 2, 3 } space_inside_brackets=False # Split before arguments split_all_comma_separated_values=False # Split before arguments, but do not split all subexpressions recursively # (unless needed). split_all_top_level_comma_separated_values=True # Split before arguments if the argument list is terminated by a # comma. split_arguments_when_comma_terminated=False # Set to True to prefer splitting before '+', '-', '*', '/', '//', or '@' # rather than after. split_before_arithmetic_operator=True # Set to True to prefer splitting before '&', '|' or '^' rather than # after. split_before_bitwise_operator=True # Split before the closing bracket if a list or dict literal doesn't fit on # a single line. split_before_closing_bracket=True # Split before a dictionary or set generator (comp_for). For example, note # the split before the 'for': # # foo = { # variable: 'Hello world, have a nice day!' # for variable in bar if variable != 42 # } split_before_dict_set_generator=True # Split before the '.' if we need to split a longer expression: # # foo = ('This is a really long string: {}, {}, {}, {}'.format(a, b, c, d)) # # would reformat to something like: # # foo = ('This is a really long string: {}, {}, {}, {}' # .format(a, b, c, d)) split_before_dot=False # Split after the opening paren which surrounds an expression if it doesn't # fit on a single line. split_before_expression_after_opening_paren=True # If an argument / parameter list is going to be split, then split before # the first argument. split_before_first_argument=False # Set to True to prefer splitting before 'and' or 'or' rather than # after. split_before_logical_operator=True # Split named assignments onto individual lines. split_before_named_assigns=True # Set to True to split list comprehensions and generators that have # non-trivial expressions and multiple clauses before each of these # clauses. For example: # # result = [ # a_long_var + 100 for a_long_var in xrange(1000) # if a_long_var % 10] # # would reformat to something like: # # result = [ # a_long_var + 100 # for a_long_var in xrange(1000) # if a_long_var % 10] split_complex_comprehension=True # The penalty for splitting right after the opening bracket. split_penalty_after_opening_bracket=100 # The penalty for splitting the line after a unary operator. split_penalty_after_unary_operator=10000 # The penalty of splitting the line around the '+', '-', '*', '/', '//', # ``%``, and '@' operators. split_penalty_arithmetic_operator=300 # The penalty for splitting right before an if expression. split_penalty_before_if_expr=0 # The penalty of splitting the line around the '&', '|', and '^' # operators. split_penalty_bitwise_operator=300 # The penalty for splitting a list comprehension or generator # expression. split_penalty_comprehension=80 # The penalty for characters over the column limit. split_penalty_excess_character=7000 # The penalty incurred by adding a line split to the unwrapped line. The # more line splits added the higher the penalty. split_penalty_for_added_line_split=30 # The penalty of splitting a list of "import as" names. For example: # # from a_very_long_or_indented_module_name_yada_yad import (long_argument_1, # long_argument_2, # long_argument_3) # # would reformat to something like: # # from a_very_long_or_indented_module_name_yada_yad import ( # long_argument_1, long_argument_2, long_argument_3) split_penalty_import_names=0 # The penalty of splitting the line around the 'and' and 'or' # operators. split_penalty_logical_operator=300 # Use the Tab character for indentation. use_tabs=True whey-pth-0.0.6/CONTRIBUTING.rst000066400000000000000000000025011462306206500157250ustar00rootroot00000000000000============== Contributing ============== .. This file based on https://github.com/PyGithub/PyGithub/blob/master/CONTRIBUTING.md ``whey-pth`` uses `tox `_ to automate testing and packaging, and `pre-commit `_ to maintain code quality. Install ``pre-commit`` with ``pip`` and install the git hook: .. code-block:: bash $ python -m pip install pre-commit $ pre-commit install Coding style -------------- `formate `_ is used for code formatting. It can be run manually via ``pre-commit``: .. code-block:: bash $ pre-commit run formate -a Or, to run the complete autoformatting suite: .. code-block:: bash $ pre-commit run -a Automated tests ------------------- Tests are run with ``tox`` and ``pytest``. To run tests for a specific Python version, such as Python 3.6: .. code-block:: bash $ tox -e py36 To run tests for all Python versions, simply run: .. code-block:: bash $ tox Type Annotations ------------------- Type annotations are checked using ``mypy``. Run ``mypy`` using ``tox``: .. code-block:: bash $ tox -e mypy Build documentation locally ------------------------------ The documentation is powered by Sphinx. A local copy of the documentation can be built with ``tox``: .. code-block:: bash $ tox -e docs whey-pth-0.0.6/LICENSE000066400000000000000000000020501462306206500142700ustar00rootroot00000000000000Copyright (c) 2021 Dominic Davis-Foster Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. whey-pth-0.0.6/MANIFEST.in000066400000000000000000000001711462306206500150230ustar00rootroot00000000000000include LICENSE include requirements.txt prune **/__pycache__ recursive-include whey_pth *.pyi include whey_pth/py.typed whey-pth-0.0.6/README.rst000066400000000000000000000124511462306206500147600ustar00rootroot00000000000000######### whey-pth ######### .. start short_desc **Extension to whey to support .pth files.** .. end short_desc .. start shields .. list-table:: :stub-columns: 1 :widths: 10 90 * - Docs - |docs| |docs_check| * - Tests - |actions_linux| |actions_windows| |actions_macos| |coveralls| * - PyPI - |pypi-version| |supported-versions| |supported-implementations| |wheel| * - Anaconda - |conda-version| |conda-platform| * - Activity - |commits-latest| |commits-since| |maintained| |pypi-downloads| * - QA - |codefactor| |actions_flake8| |actions_mypy| * - Other - |license| |language| |requires| .. |docs| image:: https://img.shields.io/readthedocs/whey-pth/latest?logo=read-the-docs :target: https://whey-pth.readthedocs.io/en/latest :alt: Documentation Build Status .. |docs_check| image:: https://github.com/repo-helper/whey-pth/workflows/Docs%20Check/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22Docs+Check%22 :alt: Docs Check Status .. |actions_linux| image:: https://github.com/repo-helper/whey-pth/workflows/Linux/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22Linux%22 :alt: Linux Test Status .. |actions_windows| image:: https://github.com/repo-helper/whey-pth/workflows/Windows/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22Windows%22 :alt: Windows Test Status .. |actions_macos| image:: https://github.com/repo-helper/whey-pth/workflows/macOS/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22macOS%22 :alt: macOS Test Status .. |actions_flake8| image:: https://github.com/repo-helper/whey-pth/workflows/Flake8/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22Flake8%22 :alt: Flake8 Status .. |actions_mypy| image:: https://github.com/repo-helper/whey-pth/workflows/mypy/badge.svg :target: https://github.com/repo-helper/whey-pth/actions?query=workflow%3A%22mypy%22 :alt: mypy status .. |requires| image:: https://dependency-dash.repo-helper.uk/github/repo-helper/whey-pth/badge.svg :target: https://dependency-dash.repo-helper.uk/github/repo-helper/whey-pth/ :alt: Requirements Status .. |coveralls| image:: https://img.shields.io/coveralls/github/repo-helper/whey-pth/master?logo=coveralls :target: https://coveralls.io/github/repo-helper/whey-pth?branch=master :alt: Coverage .. |codefactor| image:: https://img.shields.io/codefactor/grade/github/repo-helper/whey-pth?logo=codefactor :target: https://www.codefactor.io/repository/github/repo-helper/whey-pth :alt: CodeFactor Grade .. |pypi-version| image:: https://img.shields.io/pypi/v/whey-pth :target: https://pypi.org/project/whey-pth/ :alt: PyPI - Package Version .. |supported-versions| image:: https://img.shields.io/pypi/pyversions/whey-pth?logo=python&logoColor=white :target: https://pypi.org/project/whey-pth/ :alt: PyPI - Supported Python Versions .. |supported-implementations| image:: https://img.shields.io/pypi/implementation/whey-pth :target: https://pypi.org/project/whey-pth/ :alt: PyPI - Supported Implementations .. |wheel| image:: https://img.shields.io/pypi/wheel/whey-pth :target: https://pypi.org/project/whey-pth/ :alt: PyPI - Wheel .. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/whey-pth?logo=anaconda :target: https://anaconda.org/domdfcoding/whey-pth :alt: Conda - Package Version .. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/whey-pth?label=conda%7Cplatform :target: https://anaconda.org/domdfcoding/whey-pth :alt: Conda - Platform .. |license| image:: https://img.shields.io/github/license/repo-helper/whey-pth :target: https://github.com/repo-helper/whey-pth/blob/master/LICENSE :alt: License .. |language| image:: https://img.shields.io/github/languages/top/repo-helper/whey-pth :alt: GitHub top language .. |commits-since| image:: https://img.shields.io/github/commits-since/repo-helper/whey-pth/v0.0.6 :target: https://github.com/repo-helper/whey-pth/pulse :alt: GitHub commits since tagged version .. |commits-latest| image:: https://img.shields.io/github/last-commit/repo-helper/whey-pth :target: https://github.com/repo-helper/whey-pth/commit/master :alt: GitHub last commit .. |maintained| image:: https://img.shields.io/maintenance/yes/2024 :alt: Maintenance .. |pypi-downloads| image:: https://img.shields.io/pypi/dm/whey-pth :target: https://pypi.org/project/whey-pth/ :alt: PyPI - Downloads .. end shields Installation -------------- .. start installation ``whey-pth`` can be installed from PyPI or Anaconda. To install with ``pip``: .. code-block:: bash $ python -m pip install whey-pth To install with ``conda``: * First add the required channels .. code-block:: bash $ conda config --add channels https://conda.anaconda.org/conda-forge $ conda config --add channels https://conda.anaconda.org/domdfcoding * Then install .. code-block:: bash $ conda install whey-pth .. end installation ----- To enable ``whey-pth``, add the following lines to your ``pyproject.toml`` file: .. code-block:: TOML [tool.whey.builders] wheel = "whey_pth_wheel" The ``whey-pth``-specific configuration is defined in the ``tool.whey-pth`` table. See `the documentation`_ for more details. .. _the documentation: https://whey-pth.readthedocs.io/en/latest/ whey-pth-0.0.6/doc-source/000077500000000000000000000000001462306206500153315ustar00rootroot00000000000000whey-pth-0.0.6/doc-source/404.rst000066400000000000000000000003271462306206500163740ustar00rootroot00000000000000:orphan: =============== 404 =============== We looked everywhere but we couldn't find that page! .. image:: not-found.png :align: center Try using the links in the sidebar to find what you are looking for. whey-pth-0.0.6/doc-source/Source.rst000066400000000000000000000025431462306206500173270ustar00rootroot00000000000000========================= Downloading source code ========================= The ``whey-pth`` source code is available on GitHub, and can be accessed from the following URL: https://github.com/repo-helper/whey-pth If you have ``git`` installed, you can clone the repository with the following command: .. prompt:: bash git clone https://github.com/repo-helper/whey-pth .. parsed-literal:: Cloning into 'whey-pth'... remote: Enumerating objects: 47, done. remote: Counting objects: 100% (47/47), done. remote: Compressing objects: 100% (41/41), done. remote: Total 173 (delta 16), reused 17 (delta 6), pack-reused 126 Receiving objects: 100% (173/173), 126.56 KiB | 678.00 KiB/s, done. Resolving deltas: 100% (66/66), done. | Alternatively, the code can be downloaded in a 'zip' file by clicking: | :guilabel:`Clone or download` --> :guilabel:`Download Zip` .. figure:: git_download.png :alt: Downloading a 'zip' file of the source code. Downloading a 'zip' file of the source code Building from source ----------------------- The recommended way to build ``whey-pth`` is to use `tox `_: .. prompt:: bash tox -e build The source and wheel distributions will be in the directory ``dist``. If you wish, you may also use `pep517.build `_ or another :pep:`517`-compatible build tool. whey-pth-0.0.6/doc-source/_static/000077500000000000000000000000001462306206500167575ustar00rootroot00000000000000whey-pth-0.0.6/doc-source/_static/style.css000066400000000000000000000004601462306206500206310ustar00rootroot00000000000000/* This file is managed by 'repo_helper'. Don't edit it directly. */ div.highlight { -moz-tab-size: 4; tab-size: 4; } .field-list dt, dl.simple dt { margin-top: 0.5rem; } div.versionchanged ul, div.versionremoved ul { margin-left: 20px; margin-top: 0; } .longtable.autosummary { width: 100%; } whey-pth-0.0.6/doc-source/_templates/000077500000000000000000000000001462306206500174665ustar00rootroot00000000000000whey-pth-0.0.6/doc-source/_templates/base.html000066400000000000000000000003421462306206500212650ustar00rootroot00000000000000 {% extends "!base.html" %} {% block extrahead %} {% endblock %} whey-pth-0.0.6/doc-source/api.rst000066400000000000000000000002301462306206500166270ustar00rootroot00000000000000=========== Public API =========== .. autosummary-widths:: 1/2 .. automodule:: whey_pth :no-docstring: :exclude-members: call_additional_hooks,keys whey-pth-0.0.6/doc-source/conf.py000066400000000000000000000050751462306206500166370ustar00rootroot00000000000000#!/usr/bin/env python3 # This file is managed by 'repo_helper'. Don't edit it directly. # stdlib import os import re import sys # 3rd party from sphinx_pyproject import SphinxConfig sys.path.append('.') config = SphinxConfig(globalns=globals()) project = config["project"] author = config["author"] documentation_summary = config.description github_url = "https://github.com/{github_username}/{github_repository}".format_map(config) rst_prolog = f""".. |pkgname| replace:: whey-pth .. |pkgname2| replace:: ``whey-pth`` .. |browse_github| replace:: `Browse the GitHub Repository <{github_url}>`__ """ slug = re.sub(r'\W+', '-', project.lower()) release = version = config.version sphinx_builder = os.environ.get("SPHINX_BUILDER", "html").lower() todo_include_todos = int(os.environ.get("SHOW_TODOS", 0)) and sphinx_builder != "latex" intersphinx_mapping = { "python": ("https://docs.python.org/3/", None), "sphinx": ("https://www.sphinx-doc.org/en/stable/", None), "domdf_python_tools": ("https://domdf-python-tools.readthedocs.io/en/latest", None), } html_theme_options = { "light_css_variables": { "toc-title-font-size": "12pt", "toc-font-size": "12pt", "admonition-font-size": "12pt", }, "dark_css_variables": { "toc-title-font-size": "12pt", "toc-font-size": "12pt", "admonition-font-size": "12pt", }, } html_context = {} htmlhelp_basename = slug latex_documents = [("index", f'{slug}.tex', project, author, "manual")] man_pages = [("index", slug, project, [author], 1)] texinfo_documents = [("index", slug, project, author, slug, project, "Miscellaneous")] toctree_plus_types = set(config["toctree_plus_types"]) autodoc_default_options = { "members": None, # Include all members (methods). "special-members": None, "autosummary": None, "show-inheritance": None, "exclude-members": ','.join(config["autodoc_exclude_members"]), } latex_elements = { "printindex": "\\begin{flushleft}\n\\printindex\n\\end{flushleft}", "tableofcontents": "\\pdfbookmark[0]{\\contentsname}{toc}\\sphinxtableofcontents", } def setup(app): # 3rd party from sphinx_toolbox.latex import better_header_layout from sphinxemoji import sphinxemoji app.connect("config-inited", lambda app, config: better_header_layout(config)) app.connect("build-finished", sphinxemoji.copy_asset_files) app.add_js_file("https://unpkg.com/twemoji@latest/dist/twemoji.min.js") app.add_js_file("twemoji.js") app.add_css_file("twemoji.css") app.add_transform(sphinxemoji.EmojiSubstitutions) nitpicky = True toml_spec_version = "0.5.0" needspace_amount = r"5\baselineskip" whey-pth-0.0.6/doc-source/configuration.rst000066400000000000000000000051321462306206500207330ustar00rootroot00000000000000===================== Configuration ===================== ``whey-pth`` is configured in the ``pyproject.toml`` file defined in :pep:`517` and :pep:`518`. .. seealso:: The `whey documentation `_ contains instructions for configuring ``whey`` itself. To enable ``whey-pth``, add the following lines to your ``pyprojet.toml`` file: .. code-block:: TOML [tool.whey.builders] wheel = "whey_pth_wheel" The ``whey-pth``-specific configuration is defined in the ``tool.whey-pth`` table. ``[tool.whey-pth]`` ------------------- As a minimum, this table should contain the keys :conf:`name` and :conf:`pth-content`. .. conf:: name **Type**: :toml:`String` The filename of the ``.pth`` file, relative to the root of the distribution archive. If the filename does not end with ``.pth`` the extension will be appended automatically. :bold-title:`Example:` .. code-block:: TOML [tool.whey-pth] name = "virtualenv.pth" .. conf:: pth-content **Type**: :toml:`String` The content of the ``.pth`` file. See https://docs.python.org/3/library/site.html for details on the expected contents of the file. :bold-title:`Example:` .. code-block:: TOML [tool.whey-pth] pth-content = "import _virtualenv" .. conf:: additional-wheel-files **Type**: :toml:`Array` of :toml:`strings ` A list of `MANIFEST.in `_-style entries for additional files to include in the wheel. The supported commands are: ========================================================= ================================================================================================== Command Description ========================================================= ================================================================================================== :samp:`include {pat1} {pat2} ...` Add all files matching any of the listed patterns :samp:`exclude {pat1} {pat2} ...` Remove all files matching any of the listed patterns :samp:`recursive-include {dir-pattern} {pat1} {pat2} ...` Add all files under directories matching ``dir-pattern`` that match any of the listed patterns :samp:`recursive-exclude {dir-pattern} {pat1} {pat2} ...` Remove all files under directories matching ``dir-pattern`` that match any of the listed patterns ========================================================= ================================================================================================== .. TODO:: example whey-pth-0.0.6/doc-source/docutils.conf000066400000000000000000000000501462306206500200210ustar00rootroot00000000000000[restructuredtext parser] tab_width = 4 whey-pth-0.0.6/doc-source/git_download.png000066400000000000000000000642761462306206500205300ustar00rootroot00000000000000PNG  IHDRnvgAMA a cHRMz&u0`:pQ<bKGDgIDATx]T^~v%kR~"EC[)j#TxXxVJRZ`- ɀ_L2OU__4u񏘪6=am+ vlc#Vrv2& ܭ>O.ݿkC֜")6 YZ ۭ9ʌ\e[}`kNB 愥??G69rW!kOyb¦Xst##еC y]~;Q/$ ׽Z?$oE9~_}8o' xWv鍳z"' ۾\*]EOn3%H溷=AK(OOҼ{N_/ݨ8u~ ަ2"f)Y󭫕4z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SOLп- `1}쿷fUÝ>mmY2ǵM?-g+=?0׿ݠ67,=F/ߟ[5Suk>ys癙>x!c8[f,7&>(`yjf10=x unuMx~C߅Ѡ?9P?Zd?峁,j??_:/| %tEXtdate:create2020-05-24T20:00:42+00:00v%tEXtdate:modify2020-05-24T20:00:42+00:00TtEXtSoftwareShutterc IENDB`whey-pth-0.0.6/doc-source/index.rst000066400000000000000000000066601462306206500172020ustar00rootroot00000000000000######### whey-pth ######### .. start short_desc .. documentation-summary:: :meta: .. end short_desc .. start shields .. only:: html .. list-table:: :stub-columns: 1 :widths: 10 90 * - Docs - |docs| |docs_check| * - Tests - |actions_linux| |actions_windows| |actions_macos| |coveralls| * - PyPI - |pypi-version| |supported-versions| |supported-implementations| |wheel| * - Anaconda - |conda-version| |conda-platform| * - Activity - |commits-latest| |commits-since| |maintained| |pypi-downloads| * - QA - |codefactor| |actions_flake8| |actions_mypy| * - Other - |license| |language| |requires| .. |docs| rtfd-shield:: :project: whey-pth :alt: Documentation Build Status .. |docs_check| actions-shield:: :workflow: Docs Check :alt: Docs Check Status .. |actions_linux| actions-shield:: :workflow: Linux :alt: Linux Test Status .. |actions_windows| actions-shield:: :workflow: Windows :alt: Windows Test Status .. |actions_macos| actions-shield:: :workflow: macOS :alt: macOS Test Status .. |actions_flake8| actions-shield:: :workflow: Flake8 :alt: Flake8 Status .. |actions_mypy| actions-shield:: :workflow: mypy :alt: mypy status .. |requires| image:: https://dependency-dash.repo-helper.uk/github/repo-helper/whey-pth/badge.svg :target: https://dependency-dash.repo-helper.uk/github/repo-helper/whey-pth/ :alt: Requirements Status .. |coveralls| coveralls-shield:: :alt: Coverage .. |codefactor| codefactor-shield:: :alt: CodeFactor Grade .. |pypi-version| pypi-shield:: :project: whey-pth :version: :alt: PyPI - Package Version .. |supported-versions| pypi-shield:: :project: whey-pth :py-versions: :alt: PyPI - Supported Python Versions .. |supported-implementations| pypi-shield:: :project: whey-pth :implementations: :alt: PyPI - Supported Implementations .. |wheel| pypi-shield:: :project: whey-pth :wheel: :alt: PyPI - Wheel .. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/whey-pth?logo=anaconda :target: https://anaconda.org/domdfcoding/whey-pth :alt: Conda - Package Version .. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/whey-pth?label=conda%7Cplatform :target: https://anaconda.org/domdfcoding/whey-pth :alt: Conda - Platform .. |license| github-shield:: :license: :alt: License .. |language| github-shield:: :top-language: :alt: GitHub top language .. |commits-since| github-shield:: :commits-since: v0.0.6 :alt: GitHub commits since tagged version .. |commits-latest| github-shield:: :last-commit: :alt: GitHub last commit .. |maintained| maintained-shield:: 2024 :alt: Maintenance .. |pypi-downloads| pypi-shield:: :project: whey-pth :downloads: month :alt: PyPI - Downloads .. end shields Installation --------------- .. start installation .. installation:: whey-pth :pypi: :github: :anaconda: :conda-channels: conda-forge, domdfcoding .. end installation Contents ----------- .. html-section:: .. toctree:: :hidden: Home .. toctree:: :maxdepth: 3 :glob: configuration api Source license .. sidebar-links:: :caption: Links :github: :pypi: whey-pth Contributing Guide .. start links .. only:: html View the :ref:`Function Index ` or browse the `Source Code <_modules/index.html>`__. :github:repo:`Browse the GitHub Repository ` .. end links whey-pth-0.0.6/doc-source/license.rst000066400000000000000000000002121462306206500175000ustar00rootroot00000000000000========= License ========= ``whey-pth`` is licensed under the :choosealicense:`MIT` .. license-info:: MIT .. license:: :py: whey-pth whey-pth-0.0.6/doc-source/not-found.png000066400000000000000000001352371462306206500177630ustar00rootroot00000000000000PNG  IHDR\rf'zTXtRaw profile type exifxڭi7sp`?C)J͈M*3wÃ__S4Kk{q3_Ow>?h]?3}$ׅ}>9"~|? K~\ꌟo)_S{~7rcvU)ƓBYA.u|KH ?nO7ui~^oQ?A(??|pv;_vȕ_=exd{[Ww2?"8/?B\rab9",{\D(Wv2"q.}-}n;X-_ޥ- ޾\O^E@[y?6ٸ?r+8'^W[g5c }44XyL9N"JEƜREJ=-kԷ&QRM4V΅iȡQRɥZZ1Wz5\K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 2Ģd2s̙3KEh =r+uy6|z~΀_oR(~`q,و}i'=zzV֓jE_n;@Z۾[Z8 ˗/u]n4-BPJg[k ֪BX+e`#]|D *2SU˖$5z@ e v^w-לW.W{RJ(?>Ses_ߌF[obM=mXtꄐ, TX< /{*F]ѯo`3+ZZh MKk뵚_o uz]l+ `~NLzZ#v"` X)RF ѻ:8. -I.]:Fz6FaWݍ,YLakEJXkaS~3ZV Xo\׮ oCo bXk]Z'-vh nƱ;&iVrfp-4t`S}dk ,zvG:6VБt#HG:ґt#HG:ґt#HG:ґt#HG:ґt#HG:ґt#i-?_=0.5.0 default-values>=0.6.0 extras-require>=0.5.0 furo==2021.06.18b36 html-section>=0.3.0 seed-intersphinx-mapping>=1.2.2 sphinx>=3.0.3 sphinx-copybutton>=0.5.2 sphinx-debuginfo>=0.2.2 sphinx-licenseinfo>=0.3.1 sphinx-notfound-page>=0.7.1 sphinx-packaging>=0.1.1 sphinx-prompt>=1.1.0 sphinx-pyproject>=0.1.0 sphinx-tabs>=1.1.13 sphinx-toolbox>=3.5.0 sphinxcontrib-httpdomain>=1.7.0 sphinxemoji>=0.2.0 toctree-plus>=0.6.1 whey-pth-0.0.6/formate.toml000066400000000000000000000017201462306206500156200ustar00rootroot00000000000000[hooks] dynamic_quotes = 10 collections-import-rewrite = 20 reformat-generics = 40 noqa-reformat = 60 ellipsis-reformat = 70 squish_stubs = 80 [hooks.yapf] priority = 30 [hooks.yapf.kwargs] yapf_style = ".style.yapf" [hooks.isort] priority = 50 [hooks.isort.kwargs] indent = " " multi_line_output = 8 import_heading_stdlib = "stdlib" import_heading_thirdparty = "3rd party" import_heading_firstparty = "this package" import_heading_localfolder = "this package" balanced_wrapping = false lines_between_types = 0 use_parentheses = true remove_redundant_aliases = true default_section = "THIRDPARTY" known_third_party = [ "backports_entry_points_selectable", "coincidence", "coverage", "coverage_pyver_pragma", "dom_toml", "domdf_python_tools", "importlib_metadata", "pytest", "pytest_cov", "pytest_randomly", "pytest_timeout", "toml", "whey", ] known_first_party = [ "whey_pth",] [config] indent = " " line_length = 115 whey-pth-0.0.6/justfile000066400000000000000000000005731462306206500150430ustar00rootroot00000000000000default: lint pdf-docs: latex-docs make -C doc-source/build/latex/ latex-docs: SPHINX_BUILDER=latex tox -e docs unused-imports: tox -e lint -- --select F401 incomplete-defs: tox -e lint -- --select MAN vdiff: git diff $(repo-helper show version -q)..HEAD bare-ignore: greppy '# type:? *ignore(?!\[|\w)' -s lint: unused-imports incomplete-defs bare-ignore tox -n qa whey-pth-0.0.6/pyproject.toml000066400000000000000000000117671462306206500162160ustar00rootroot00000000000000[build-system] requires = [ "setuptools!=61.*,<=67.1.0,>=40.6.0", "wheel>=0.34.2",] build-backend = "setuptools.build_meta" [project] name = "whey-pth" version = "0.0.6" description = "Extension to whey to support .pth files." readme = "README.rst" requires-python = ">=3.6.1" keywords = [ "build", "distribution", "packaging", "wheel", "whey",] classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Archiving :: Packaging", "Typing :: Typed", ] dynamic = [ "dependencies",] [project.license] file = "LICENSE" [[project.authors]] name = "Dominic Davis-Foster" email = "dominic@davis-foster.co.uk" [project.urls] Homepage = "https://github.com/repo-helper/whey-pth" "Issue Tracker" = "https://github.com/repo-helper/whey-pth/issues" "Source Code" = "https://github.com/repo-helper/whey-pth" Documentation = "https://whey-pth.readthedocs.io/en/latest" [project.entry-points."whey.builder"] whey_pth_wheel = "whey_pth:PthWheelBuilder" [tool.mkrecipe] conda-channels = [ "conda-forge", "domdfcoding",] extras = "all" license-key = "MIT" package = "whey_pth" [tool.sphinx-pyproject] github_username = "repo-helper" github_repository = "whey-pth" author = "Dominic Davis-Foster" project = "whey-pth" copyright = "2021 Dominic Davis-Foster" language = "en" package_root = "whey_pth" extensions = [ "sphinx_toolbox", "sphinx_toolbox.more_autodoc", "sphinx_toolbox.more_autosummary", "sphinx_toolbox.documentation_summary", "sphinx_toolbox.tweaks.param_dash", "sphinxcontrib.toctree_plus", "sphinx_toolbox.tweaks.latex_layout", "sphinx_toolbox.tweaks.latex_toc", "sphinx.ext.intersphinx", "sphinx.ext.mathjax", "sphinxcontrib.extras_require", "sphinx.ext.todo", "notfound.extension", "sphinx_copybutton", "sphinxcontrib.default_values", "sphinx_debuginfo", "sphinx_licenseinfo", "seed_intersphinx_mapping", "html_section", "configconfig.autoconfig", "sphinx_toolbox.more_autosummary.column_widths", "sphinx_packaging.peps", "sphinx_packaging.toml", ] gitstamp_fmt = "%d %b %Y" templates_path = [ "_templates",] html_static_path = [ "_static",] source_suffix = ".rst" master_doc = "index" suppress_warnings = [ "image.nonlocal_uri",] pygments_style = "default" html_theme = "furo" html_theme_path = [ "../..",] html_show_sourcelink = true toctree_plus_types = [ "class", "confval", "data", "directive", "enum", "exception", "flag", "function", "namedtuple", "protocol", "role", "typeddict", ] add_module_names = false hide_none_rtype = true all_typevars = true overloads_location = "bottom" html_codeblock_linenos_style = "table" autodoc_exclude_members = [ "__dict__", "__class__", "__dir__", "__weakref__", "__module__", "__annotations__", "__orig_bases__", "__parameters__", "__subclasshook__", "__init_subclass__", "__attrs_attrs__", "__init__", "__new__", "__getnewargs__", "__abstractmethods__", "__hash__", ] [tool.whey] base-classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Archiving :: Packaging", "Typing :: Typed", ] python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",] python-implementations = [ "CPython", "PyPy",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" package = "whey_pth" [tool.mypy] python_version = "3.6" namespace_packages = true check_untyped_defs = true warn_unused_ignores = true no_implicit_optional = true show_error_codes = true [tool.snippet-fmt] directives = [ "code-block",] [tool.snippet-fmt.languages.python] reformat = true [tool.snippet-fmt.languages.TOML] reformat = true [tool.snippet-fmt.languages.ini] [tool.snippet-fmt.languages.json] [tool.setuptools] zip-safe = false include-package-data = true platforms = [ "Windows", "macOS", "Linux",] [tool.dependency-dash."requirements.txt"] order = 10 [tool.dependency-dash."tests/requirements.txt"] order = 20 include = false [tool.dependency-dash."doc-source/requirements.txt"] order = 30 include = false whey-pth-0.0.6/repo_helper.yml000066400000000000000000000027611462306206500163230ustar00rootroot00000000000000# Configuration for 'repo_helper' (https://github.com/domdfcoding/repo_helper) --- modname: 'whey-pth' copyright_years: '2021' author: 'Dominic Davis-Foster' email: 'dominic@davis-foster.co.uk' username: 'repo-helper' assignee: 'domdfcoding' primary_conda_channel: "domdfcoding" version: '0.0.6' license: 'MIT' short_desc: 'Extension to whey to support .pth files.' min_coverage: 100 python_deploy_version: 3.6 docs_fail_on_warning: true sphinx_html_theme: furo standalone_contrib_guide: true conda_channels: - conda-forge # Versions to run tests for python_versions: - '3.6' - '3.7' - '3.8' - '3.9' - '3.10' - '3.11' - '3.12' - 3.13-dev - pypy36 - pypy37 - pypy38 - pypy39 sphinx_conf_epilogue: - nitpicky = True - toml_spec_version = "0.5.0" - needspace_amount = r"5\baselineskip" extra_sphinx_extensions: - configconfig.autoconfig - sphinx_toolbox.more_autosummary.column_widths - sphinx_packaging.peps - sphinx_packaging.toml classifiers: - 'Development Status :: 3 - Alpha' - 'Environment :: Console' - 'Intended Audience :: Developers' - 'Topic :: Software Development :: Libraries :: Python Modules' - "Topic :: Software Development :: Build Tools" - "Topic :: System :: Archiving :: Packaging" keywords: - whey - build - wheel - packaging - distribution entry_points: whey.builder: - "whey_pth_wheel = whey_pth:PthWheelBuilder" intersphinx_mapping: - "'domdf_python_tools': ('https://domdf-python-tools.readthedocs.io/en/latest', None)" exclude_files: - contributing whey-pth-0.0.6/requirements.txt000066400000000000000000000000351462306206500165500ustar00rootroot00000000000000dom-toml>=0.4.0 whey>=0.0.25 whey-pth-0.0.6/setup.cfg000066400000000000000000000036011462306206500151070ustar00rootroot00000000000000# This file is managed by 'repo_helper'. # You may add new sections, but any changes made to the following sections will be lost: # * metadata # * options # * options.packages.find # * mypy # * options.entry_points [metadata] name = whey-pth version = 0.0.6 author = Dominic Davis-Foster author_email = dominic@davis-foster.co.uk license = MIT License keywords = whey, build, wheel, packaging, distribution long_description = file: README.rst long_description_content_type = text/x-rst platforms = Windows, macOS, Linux url = https://github.com/repo-helper/whey-pth project_urls = Documentation = https://whey-pth.readthedocs.io/en/latest Issue Tracker = https://github.com/repo-helper/whey-pth/issues Source Code = https://github.com/repo-helper/whey-pth classifiers = Development Status :: 3 - Alpha Environment :: Console Intended Audience :: Developers License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Build Tools Topic :: Software Development :: Libraries :: Python Modules Topic :: System :: Archiving :: Packaging Typing :: Typed [options] python_requires = >=3.6.1 zip_safe = False include_package_data = True packages = find: [options.packages.find] exclude = doc-source tests tests.* [options.entry_points] whey.builder = whey_pth_wheel = whey_pth:PthWheelBuilder whey-pth-0.0.6/setup.py000066400000000000000000000011151462306206500147760ustar00rootroot00000000000000#!/usr/bin/env python # This file is managed by 'repo_helper'. Don't edit it directly. # stdlib import pathlib import shutil import sys # 3rd party from setuptools import setup sys.path.append('.') extras_require = {} repo_root = pathlib.Path(__file__).parent install_requires = (repo_root / "requirements.txt").read_text(encoding="UTF-8").split('\n') setup( description="Extension to whey to support .pth files.", extras_require=extras_require, install_requires=install_requires, name="whey-pth", py_modules=[], ) shutil.rmtree("whey_pth.egg-info", ignore_errors=True) whey-pth-0.0.6/stubs.txt000066400000000000000000000001551462306206500151700ustar00rootroot00000000000000git+https://github.com/domdfcoding/pytest-regressions-stubs git+https://github.com/repo-helper/toml@py.typed whey-pth-0.0.6/tests/000077500000000000000000000000001462306206500144305ustar00rootroot00000000000000whey-pth-0.0.6/tests/__init__.py000066400000000000000000000000001462306206500165270ustar00rootroot00000000000000whey-pth-0.0.6/tests/conftest.py000066400000000000000000000000431462306206500166240ustar00rootroot00000000000000pytest_plugins = ("coincidence", ) whey-pth-0.0.6/tests/requirements.txt000066400000000000000000000004121462306206500177110ustar00rootroot00000000000000backports-entry-points-selectable>=1.0.2 coincidence>=0.2.0 coverage>=5.1 coverage-pyver-pragma>=0.2.1 domdf-python-tools[testing]>=2.0.1 importlib-metadata>=3.6.0 iniconfig!=1.1.0,>=1.0.1 pytest>=6.0.0 pytest-cov>=2.8.1 pytest-randomly>=3.7.0 pytest-timeout>=1.4.2 whey-pth-0.0.6/tests/test_whey_pth.py000066400000000000000000000275611462306206500177030ustar00rootroot00000000000000# stdlib import tarfile import tempfile import zipfile # 3rd party import pytest from coincidence.regressions import AdvancedDataRegressionFixture, check_file_regression from domdf_python_tools.paths import PathPlus from pytest_regressions.file_regression import FileRegressionFixture from whey.builder import SDistBuilder from whey.config import BadConfigError, load_toml from whey.foreman import Foreman # this package from whey_pth import PthWheelBuilder, WheyPthParser WHEY_NO_PTH = """\ [build-system] requires = [ "whey",] build-backend = "whey" [project] name = "whey" version = "2021.0.0" description = "A simple Python wheel builder for simple projects." keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] dynamic = [ "classifiers", "requires-python",] readme = "README.rst" dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'" ] [project.license] file = "LICENSE" [[project.authors]] email = "dominic@davis-foster.co.uk" name = "Dominic Davis-Foster" [project.urls] Homepage = "https://whey.readthedocs.io/en/latest" Documentation = "https://whey.readthedocs.io/en/latest" "Issue Tracker" = "https://github.com/repo-helper/whey/issues" "Source Code" = "https://github.com/repo-helper/whey" [tool.whey] base-classifiers = [ "Development Status :: 4 - Beta",] python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] python-implementations = [ "CPython", "PyPy",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" [tool.whey.builders] wheel = "whey_pth_wheel" """ COMPLETE_A = """\ [build-system] requires = [ "whey",] build-backend = "whey" [project] name = "whey" version = "2021.0.0" description = "A simple Python wheel builder for simple projects." keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] dynamic = [ "classifiers", "requires-python",] readme = "README.rst" dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'" ] [project.license] file = "LICENSE" [[project.authors]] email = "dominic@davis-foster.co.uk" name = "Dominic Davis-Foster" [project.urls] Homepage = "https://whey.readthedocs.io/en/latest" Documentation = "https://whey.readthedocs.io/en/latest" "Issue Tracker" = "https://github.com/repo-helper/whey/issues" "Source Code" = "https://github.com/repo-helper/whey" [tool.whey] base-classifiers = [ "Development Status :: 4 - Beta",] python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] python-implementations = [ "CPython", "PyPy",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" [tool.whey.builders] wheel = "whey_pth_wheel" [tool.whey-pth] name = "my_project.pth" pth-content = "import _virtualenv" """ COMPLETE_B = """\ [build-system] requires = [ "whey",] build-backend = "whey" [project] name = "whey" version = "2021.0.0" description = "A simple Python wheel builder for simple projects." keywords = [ "pep517", "pep621", "build", "sdist", "wheel", "packaging", "distribution",] dynamic = [ "classifiers", "requires-python",] readme = "README.rst" dependencies = [ "httpx", "gidgethub[httpx]>4.0.0", "django>2.1; os_name != 'nt'", "django>2.0; os_name == 'nt'" ] [project.license] file = "LICENSE" [[project.authors]] email = "dominic@davis-foster.co.uk" name = "Dominic Davis-Foster" [project.urls] Homepage = "https://whey.readthedocs.io/en/latest" Documentation = "https://whey.readthedocs.io/en/latest" "Issue Tracker" = "https://github.com/repo-helper/whey/issues" "Source Code" = "https://github.com/repo-helper/whey" [tool.whey] base-classifiers = [ "Development Status :: 4 - Beta",] python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10",] python-implementations = [ "CPython", "PyPy",] platforms = [ "Windows", "macOS", "Linux",] license-key = "MIT" [tool.whey.builders] wheel = "whey_pth_wheel" [tool.whey-pth] name = "my_project" pth-content = "import _virtualenv" """ @pytest.mark.parametrize( "config", [ pytest.param(WHEY_NO_PTH, id="WHEY_NO_PTH"), pytest.param(COMPLETE_A, id="COMPLETE_A"), pytest.param(COMPLETE_B, id="COMPLETE_B"), ] ) def test_build_complete( config: str, tmp_pathplus: PathPlus, advanced_data_regression: AdvancedDataRegressionFixture, file_regression: FileRegressionFixture, capsys, ): (tmp_pathplus / "pyproject.toml").write_clean(config) (tmp_pathplus / "whey").mkdir() (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") (tmp_pathplus / "LICENSE").write_clean("This is the license") (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") data = {} with tempfile.TemporaryDirectory() as tmpdir: wheel_builder = PthWheelBuilder( project_dir=tmp_pathplus, config=load_toml(tmp_pathplus / "pyproject.toml"), build_dir=tmpdir, out_dir=tmp_pathplus, verbose=True, colour=False, ) wheel = wheel_builder.build_wheel() assert (tmp_pathplus / wheel).is_file() zip_file = zipfile.ZipFile(tmp_pathplus / wheel) data["wheel_content"] = sorted(zip_file.namelist()) with zip_file.open("whey/__init__.py", mode='r') as fp: assert fp.read().decode("UTF-8") == "print('hello world)\n" with zip_file.open("whey-2021.0.0.dist-info/METADATA", mode='r') as fp: check_file_regression(fp.read().decode("UTF-8"), file_regression) if config != WHEY_NO_PTH: with zip_file.open("my_project.pth", mode='r') as fp: assert fp.read().decode("UTF-8") == "import _virtualenv\n" with tempfile.TemporaryDirectory() as tmpdir: sdist_builder = SDistBuilder( project_dir=tmp_pathplus, config=load_toml(tmp_pathplus / "pyproject.toml"), build_dir=tmpdir, out_dir=tmp_pathplus, verbose=True, colour=False, ) sdist = sdist_builder.build_sdist() assert (tmp_pathplus / sdist).is_file() tar = tarfile.open(tmp_pathplus / sdist) data["sdist_content"] = sorted(tar.getnames()) with tar.extractfile("whey-2021.0.0/whey/__init__.py") as fp: # type: ignore assert fp.read().decode("UTF-8") == "print('hello world)\n" with tar.extractfile("whey-2021.0.0/README.rst") as fp: # type: ignore assert fp.read().decode("UTF-8") == "Spam Spam Spam Spam\n" with tar.extractfile("whey-2021.0.0/LICENSE") as fp: # type: ignore assert fp.read().decode("UTF-8") == "This is the license\n" with tar.extractfile("whey-2021.0.0/requirements.txt") as fp: # type: ignore assert fp.read().decode("UTF-8") == "domdf_python_tools\n" outerr = capsys.readouterr() data["stdout"] = outerr.out.replace(tmp_pathplus.as_posix(), "...") data["stderr"] = outerr.err advanced_data_regression.check(data) @pytest.mark.parametrize( "config", [ pytest.param(WHEY_NO_PTH, id="WHEY_NO_PTH"), pytest.param(COMPLETE_A, id="COMPLETE_A"), pytest.param(COMPLETE_B, id="COMPLETE_B"), ] ) def test_build_complete_foreman( config: str, tmp_pathplus: PathPlus, advanced_data_regression: AdvancedDataRegressionFixture, file_regression: FileRegressionFixture, capsys, ): (tmp_pathplus / "pyproject.toml").write_clean(config) (tmp_pathplus / "whey").mkdir() (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") (tmp_pathplus / "LICENSE").write_clean("This is the license") (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") data = {} foreman = Foreman(project_dir=tmp_pathplus) with tempfile.TemporaryDirectory() as tmpdir: wheel = foreman.build_wheel( build_dir=tmpdir, out_dir=tmp_pathplus, verbose=True, colour=False, ) assert (tmp_pathplus / wheel).is_file() zip_file = zipfile.ZipFile(tmp_pathplus / wheel) data["wheel_content"] = sorted(zip_file.namelist()) with zip_file.open("whey/__init__.py", mode='r') as fp: assert fp.read().decode("UTF-8") == "print('hello world)\n" with zip_file.open("whey-2021.0.0.dist-info/METADATA", mode='r') as fp: check_file_regression(fp.read().decode("UTF-8"), file_regression) if config != WHEY_NO_PTH: with zip_file.open("my_project.pth", mode='r') as fp: assert fp.read().decode("UTF-8") == "import _virtualenv\n" with tempfile.TemporaryDirectory() as tmpdir: sdist = foreman.build_sdist( build_dir=tmpdir, out_dir=tmp_pathplus, verbose=True, colour=False, ) assert (tmp_pathplus / sdist).is_file() tar = tarfile.open(tmp_pathplus / sdist) data["sdist_content"] = sorted(tar.getnames()) with tar.extractfile("whey-2021.0.0/whey/__init__.py") as fp: # type: ignore assert fp.read().decode("UTF-8") == "print('hello world)\n" with tar.extractfile("whey-2021.0.0/README.rst") as fp: # type: ignore assert fp.read().decode("UTF-8") == "Spam Spam Spam Spam\n" with tar.extractfile("whey-2021.0.0/LICENSE") as fp: # type: ignore assert fp.read().decode("UTF-8") == "This is the license\n" with tar.extractfile("whey-2021.0.0/requirements.txt") as fp: # type: ignore assert fp.read().decode("UTF-8") == "domdf_python_tools\n" outerr = capsys.readouterr() data["stdout"] = outerr.out.replace(tmp_pathplus.as_posix(), "...") data["stderr"] = outerr.err advanced_data_regression.check(data) def test_build_additional_files( tmp_pathplus: PathPlus, advanced_data_regression: AdvancedDataRegressionFixture, file_regression: FileRegressionFixture, capsys, ): (tmp_pathplus / "pyproject.toml").write_lines([ COMPLETE_A, '', "additional-wheel-files = [", ' "include _virtualenv.py",', ']', ]) (tmp_pathplus / "whey").mkdir() (tmp_pathplus / "whey" / "__init__.py").write_clean("print('hello world)") (tmp_pathplus / "_virtualenv.py").write_clean("This is the _virtualenv.py file") (tmp_pathplus / "README.rst").write_clean("Spam Spam Spam Spam") (tmp_pathplus / "LICENSE").write_clean("This is the license") (tmp_pathplus / "requirements.txt").write_clean("domdf_python_tools") data = {} with tempfile.TemporaryDirectory() as tmpdir: wheel_builder = PthWheelBuilder( project_dir=tmp_pathplus, config=load_toml(tmp_pathplus / "pyproject.toml"), build_dir=tmpdir, out_dir=tmp_pathplus, verbose=True, colour=False, ) wheel = wheel_builder.build_wheel() assert (tmp_pathplus / wheel).is_file() zip_file = zipfile.ZipFile(tmp_pathplus / wheel) data["wheel_content"] = sorted(zip_file.namelist()) with zip_file.open("whey/__init__.py", mode='r') as fp: assert fp.read().decode("UTF-8") == "print('hello world)\n" with zip_file.open("whey-2021.0.0.dist-info/METADATA", mode='r') as fp: check_file_regression(fp.read().decode("UTF-8"), file_regression) with zip_file.open("my_project.pth", mode='r') as fp: assert fp.read().decode("UTF-8") == "import _virtualenv\n" with zip_file.open("_virtualenv.py", mode='r') as fp: assert fp.read().decode("UTF-8") == "This is the _virtualenv.py file\n" outerr = capsys.readouterr() data["stdout"] = outerr.out.replace(tmp_pathplus.as_posix(), "...") data["stderr"] = outerr.err advanced_data_regression.check(data) def test_badconfig(): with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.name\] key is required."): WheyPthParser().parse({}) with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.name\] key is required."): WheyPthParser().parse({"pth-content": "import _virtualenv"}) with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.pth-content\] key is required."): WheyPthParser().parse({"name": "foo"}) def test_badconfig_set_defaults(): with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.name\] key is required."): WheyPthParser().parse({}, set_defaults=True) with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.name\] key is required."): WheyPthParser().parse({"pth-content": "import _virtualenv"}, set_defaults=True) with pytest.raises(BadConfigError, match=r"The \[tool.whey-pth.pth-content\] key is required."): WheyPthParser().parse({"name": "foo"}, set_defaults=True) whey-pth-0.0.6/tests/test_whey_pth_/000077500000000000000000000000001462306206500174555ustar00rootroot00000000000000whey-pth-0.0.6/tests/test_whey_pth_/test_build_additional_files.txt000066400000000000000000000026021462306206500257260ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_additional_files.yml000066400000000000000000000012361462306206500257120ustar00rootroot00000000000000stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing my_project.pth Copying .../_virtualenv.py -> _virtualenv.py Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl ' wheel_content: - _virtualenv.py - my_project.pth - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_COMPLETE_A_.txt000066400000000000000000000026021462306206500261330ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_COMPLETE_A_.yml000066400000000000000000000020511462306206500261130ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing my_project.pth Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - my_project.pth - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_COMPLETE_B_.txt000066400000000000000000000026021462306206500261340ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_COMPLETE_B_.yml000066400000000000000000000020511462306206500261140ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing my_project.pth Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - my_project.pth - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_WHEY_NO_PTH_.txt000066400000000000000000000026021462306206500263460ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_WHEY_NO_PTH_.yml000066400000000000000000000017761462306206500263430ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_COMPLETE_A_.txt000066400000000000000000000026021462306206500276420ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_COMPLETE_A_.yml000066400000000000000000000020511462306206500276220ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing my_project.pth Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - my_project.pth - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_COMPLETE_B_.txt000066400000000000000000000026021462306206500276430ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_COMPLETE_B_.yml000066400000000000000000000020511462306206500276230ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing my_project.pth Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - my_project.pth - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_WHEY_NO_PTH_.txt000066400000000000000000000026021462306206500300550ustar00rootroot00000000000000Metadata-Version: 2.2 Name: whey Version: 2021.0.0 Summary: A simple Python wheel builder for simple projects. Author-email: Dominic Davis-Foster License: MIT Keywords: build,distribution,packaging,pep517,pep621,sdist,wheel Home-page: https://whey.readthedocs.io/en/latest Project-URL: Documentation, https://whey.readthedocs.io/en/latest Project-URL: Issue Tracker, https://github.com/repo-helper/whey/issues Project-URL: Source Code, https://github.com/repo-helper/whey Platform: Windows Platform: macOS Platform: Linux Classifier: Development Status :: 4 - Beta Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6 Requires-Dist: django>2.1; os_name != "nt" Requires-Dist: django>2.0; os_name == "nt" Requires-Dist: gidgethub[httpx]>4.0.0 Requires-Dist: httpx Description-Content-Type: text/x-rst Spam Spam Spam Spam whey-pth-0.0.6/tests/test_whey_pth_/test_build_complete_foreman_WHEY_NO_PTH_.yml000066400000000000000000000017761462306206500300520ustar00rootroot00000000000000sdist_content: - whey-2021.0.0/LICENSE - whey-2021.0.0/PKG-INFO - whey-2021.0.0/README.rst - whey-2021.0.0/pyproject.toml - whey-2021.0.0/requirements.txt - whey-2021.0.0/whey/__init__.py stderr: '' stdout: 'Copying .../whey/__init__.py -> whey/__init__.py Writing whey-2021.0.0.dist-info/LICENSE Writing whey-2021.0.0.dist-info/entry_points.txt Writing whey-2021.0.0.dist-info/METADATA Writing whey-2021.0.0.dist-info/WHEEL Writing whey-2021.0.0.dist-info/RECORD Wheel created at .../whey-2021.0.0-py3-none-any.whl Copying .../whey/__init__.py -> whey/__init__.py Writing LICENSE Copying .../pyproject.toml -> pyproject.toml Copying .../requirements.txt -> requirements.txt Writing README.rst Writing PKG-INFO Source distribution created at .../whey-2021.0.0.tar.gz ' wheel_content: - whey-2021.0.0.dist-info/LICENSE - whey-2021.0.0.dist-info/METADATA - whey-2021.0.0.dist-info/RECORD - whey-2021.0.0.dist-info/WHEEL - whey-2021.0.0.dist-info/entry_points.txt - whey/__init__.py whey-pth-0.0.6/tox.ini000066400000000000000000000152221462306206500146030ustar00rootroot00000000000000# This file is managed by 'repo_helper'. # You may add new sections, but any changes made to the following sections will be lost: # * tox # * envlists # * testenv # * testenv:.package # * testenv:py313-dev # * testenv:py312-dev # * testenv:py312 # * testenv:docs # * testenv:build # * testenv:lint # * testenv:perflint # * testenv:mypy # * testenv:pyup # * testenv:coverage # * flake8 # * coverage:run # * coverage:report # * check-wheel-contents # * pytest [tox] envlist = py36 py37 py38 py39 py310 py311 py312 py313-dev pypy36 pypy37 pypy38 pypy39 mypy build skip_missing_interpreters = True isolated_build = True requires = pip>=21,!=22.2 tox-envlist>=0.2.1 tox~=3.0 virtualenv!=20.16.0 [envlists] test = py36 py37 py38 py39 py310 py311 py312 py313-dev pypy36 pypy37 pypy38 pypy39 qa = mypy, lint cov = py36, coverage [testenv] setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 SETUPTOOLS_USE_DISTUTILS=stdlib deps = -r{toxinidir}/tests/requirements.txt commands = python --version python -m pytest --cov=whey_pth -r aR tests/ {posargs} [testenv:.package] setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 [testenv:py313-dev] setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 UNSAFE_PYO3_SKIP_VERSION_CHECK=1 [testenv:py312] setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 [testenv:docs] setenv = SHOW_TODOS = 1 passenv = SPHINX_BUILDER basepython = python3.8 changedir = {toxinidir}/doc-source deps = -r{toxinidir}/doc-source/requirements.txt commands = sphinx-build -M {env:SPHINX_BUILDER:html} . ./build {posargs} [testenv:build] setenv = PYTHONDEVMODE=1 PIP_DISABLE_PIP_VERSION_CHECK=1 PIP_PREFER_BINARY=1 UNSAFE_PYO3_SKIP_VERSION_CHECK=1 skip_install = True changedir = {toxinidir} deps = build[virtualenv]>=0.3.1 check-wheel-contents>=0.1.0 twine>=3.2.0 cryptography<40; implementation_name == "pypy" and python_version <= "3.7" commands = python -m build --sdist --wheel "{toxinidir}" twine check dist/*.tar.gz dist/*.whl check-wheel-contents dist/ [testenv:lint] basepython = python3.6 changedir = {toxinidir} ignore_errors = True skip_install = True deps = flake8>=3.8.2,<5 flake8-2020>=1.6.0 flake8-builtins>=1.5.3 flake8-docstrings>=1.5.0 flake8-dunder-all>=0.1.1 flake8-encodings>=0.1.0 flake8-github-actions>=0.1.0 flake8-noqa>=1.1.0,<=1.2.2 flake8-pyi>=20.10.0,<=22.8.0 flake8-pytest-style>=1.3.0,<2 flake8-quotes>=3.3.0 flake8-slots>=0.1.0 flake8-sphinx-links>=0.0.4 flake8-strftime>=0.1.1 flake8-typing-imports>=1.10.0 git+https://github.com/domdfcoding/flake8-rst-docstrings-sphinx.git git+https://github.com/domdfcoding/flake8-rst-docstrings.git git+https://github.com/python-formate/flake8-unused-arguments.git@magic-methods git+https://github.com/python-formate/flake8-missing-annotations.git pydocstyle>=6.0.0 pygments>=2.7.1 importlib_metadata<4.5.0; python_version<'3.8' commands = python3 -m flake8_rst_docstrings_sphinx whey_pth tests --allow-toolbox {posargs} [testenv:perflint] basepython = python3.6 changedir = {toxinidir} ignore_errors = True skip_install = True deps = perflint commands = python3 -m perflint whey_pth {posargs} [testenv:mypy] basepython = python3.6 ignore_errors = True changedir = {toxinidir} deps = mypy==0.971 -r{toxinidir}/tests/requirements.txt -r{toxinidir}/stubs.txt commands = mypy whey_pth tests {posargs} [testenv:pyup] basepython = python3.6 skip_install = True ignore_errors = True changedir = {toxinidir} deps = pyupgrade-directories commands = pyup_dirs whey_pth tests --py36-plus --recursive [testenv:coverage] basepython = python3.6 skip_install = True ignore_errors = True whitelist_externals = /bin/bash passenv = COV_PYTHON_VERSION COV_PLATFORM COV_PYTHON_IMPLEMENTATION * changedir = {toxinidir} deps = coverage>=5 coverage_pyver_pragma>=0.2.1 commands = /bin/bash -c "rm -rf htmlcov" coverage html /bin/bash -c "DISPLAY=:0 firefox 'htmlcov/index.html'" [flake8] max-line-length = 120 select = E111 E112 E113 E121 E122 E125 E127 E128 E129 E131 E133 E201 E202 E203 E211 E222 E223 E224 E225 E225 E226 E227 E228 E231 E241 E242 E251 E261 E262 E265 E271 E272 E303 E304 E306 E402 E502 E703 E711 E712 E713 E714 E721 W291 W292 W293 W391 W504 YTT101 YTT102 YTT103 YTT201 YTT202 YTT203 YTT204 YTT301 YTT302 YTT303 STRFTIME001 STRFTIME002 SXL001 PT001 PT002 PT003 PT006 PT007 PT008 PT009 PT010 PT011 PT012 PT013 PT014 PT015 PT016 PT017 PT018 PT019 PT020 PT021 RST201 RST202 RST203 RST204 RST205 RST206 RST207 RST208 RST210 RST211 RST212 RST213 RST214 RST215 RST216 RST217 RST218 RST219 RST299 RST301 RST302 RST303 RST304 RST305 RST306 RST399 RST401 RST499 RST900 RST901 RST902 RST903 Q001 Q002 Q003 A001 A002 TYP001 TYP002 TYP003 TYP004 TYP005 TYP006 ENC001 ENC002 ENC003 ENC004 ENC011 ENC012 ENC021 ENC022 ENC023 ENC024 ENC025 ENC026 Y001,Y002 Y003 Y004 Y005 Y006 Y007 Y008 Y009 Y010 Y011 Y012 Y013 Y014 Y015 Y090 Y091 NQA001 NQA002 NQA003 NQA004 NQA005 NQA102 NQA103 E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 extend-exclude = doc-source,old,build,dist,__pkginfo__.py,setup.py,venv rst-directives = TODO autosummary-widths envvar extras-require license license-info rst-roles = choosealicense per-file-ignores = tests/*: D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 */*.pyi: E301 E302 E305 D100 D101 D102 D103 D104 D106 D201 D204 D207 D208 D209 D210 D211 D212 D213 D214 D215 D300 D301 D400 D402 D403 D404 D415 D417 DALL000 SLOT000 SLOT001 SLOT002 pytest-parametrize-names-type = csv inline-quotes = " multiline-quotes = """ docstring-quotes = """ count = True min_python_version = 3.6.1 unused-arguments-ignore-abstract-functions = True unused-arguments-ignore-overload-functions = True unused-arguments-ignore-magic-methods = True unused-arguments-ignore-variadic-names = True [coverage:run] plugins = coverage_pyver_pragma [coverage:report] fail_under = 100 show_missing = True exclude_lines = raise AssertionError raise NotImplementedError if 0: if False: if TYPE_CHECKING if typing.TYPE_CHECKING if __name__ == .__main__.: [check-wheel-contents] ignore = W002 toplevel = whey_pth package = whey_pth [pytest] addopts = --color yes --durations 25 timeout = 300 whey-pth-0.0.6/whey_pth/000077500000000000000000000000001462306206500151155ustar00rootroot00000000000000whey-pth-0.0.6/whey_pth/__init__.py000066400000000000000000000126771462306206500172430ustar00rootroot00000000000000#!/usr/bin/env python3 # # __init__.py """ Extension to whey to support .pth files. """ # # Copyright © 2021 Dominic Davis-Foster # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE # OR OTHER DEALINGS IN THE SOFTWARE. # # stdlib from typing import Dict, List # 3rd party import dom_toml from dom_toml.parser import TOML_TYPES, AbstractConfigParser, BadConfigError from whey import additional_files from whey.builder import WheelBuilder __author__: str = "Dominic Davis-Foster" __copyright__: str = "2021 Dominic Davis-Foster" __license__: str = "MIT License" __version__: str = "0.0.6" __email__: str = "dominic@davis-foster.co.uk" __all__ = ["PthWheelBuilder", "WheyPthParser"] class PthWheelBuilder(WheelBuilder): """ Builds wheel binary distributions using metadata read from ``pyproject.toml``. This builder has added support for creating ``.pth`` files. :param project_dir: The project to build the distribution for. :param build_dir: The (temporary) build directory. :default build_dir: :file:`{}/build/wheel` :param out_dir: The output directory. :default out_dir: :file:`{}/dist` :param verbose: Enable verbose output. .. autosummary-widths:: 5/16 """ def write_pth_files(self): """ Write ``.pth`` files, and their associated files, into the build directory. .. latex:clearpage:: """ config = dom_toml.load(self.project_dir / "pyproject.toml") if "whey-pth" not in config.get("tool", {}): return parsed_config = WheyPthParser().parse(config["tool"]["whey-pth"], set_defaults=True) pth_filename = self.build_dir / parsed_config["name"] if not pth_filename.suffix == ".pth": pth_filename = pth_filename.with_suffix(".pth") pth_filename.write_clean(parsed_config["pth-content"]) self.report_written(pth_filename) self.parse_additional_files(*parsed_config["additional-wheel-files"]) call_additional_hooks = write_pth_files class WheyPthParser(AbstractConfigParser): """ Parser for the ``[tool.whey-pth]`` table from ``pyproject.toml``. .. autosummary-widths:: 1/2 """ factories = {"additional-wheel-files": list} def parse_name(self, config: Dict[str, TOML_TYPES]) -> str: """ Parse the ``name`` key, giving the desired name of the ``.pth`` file. :param config: The unparsed TOML config for the ``[tool.whey-pth]`` table. """ name = config["name"] self.assert_type(name, str, ["tool", "whey-pth", "name"]) return name def parse_pth_content(self, config: Dict[str, TOML_TYPES]) -> str: """ Parse the ``pth-content`` key, giving the content of the ``.pth`` file. :param config: The unparsed TOML config for the ``[tool.whey-pth]`` table. """ pth_content = config["pth-content"] self.assert_type(pth_content, str, ["tool", "whey-pth", "pth-content"]) return pth_content def parse_additional_wheel_files( self, config: Dict[str, TOML_TYPES], ) -> List[additional_files.AdditionalFilesEntry]: """ Parse the ``additional-wheel-files`` key. The value is a list of `MANIFEST.in `_-style entries for additional files to include in the wheel. :param config: The unparsed TOML config for the ``[tool.whey-pth]`` table. """ entries = config["additional-wheel-files"] for idx, file in enumerate(entries): self.assert_indexed_type(file, str, ["tool", "whey", "additional-wheel-files"], idx=idx) parsed_additional_files = [] for entry in entries: parsed_entry = additional_files.from_entry(entry) if parsed_entry is not None: parsed_additional_files.append(parsed_entry) return parsed_additional_files @property def keys(self) -> List[str]: """ The keys to parse from the TOML file. """ return [ "name", "pth-content", "additional-wheel-files", ] def parse( self, config: Dict[str, TOML_TYPES], set_defaults: bool = False, ) -> Dict[str, TOML_TYPES]: """ Parse the TOML configuration. :param config: :param set_defaults: If :py:obj:`True`, the values in :attr:`self.defaults ` and :attr:`self.factories ` will be set as defaults for the returned mapping. """ if "name" not in config: raise BadConfigError("The [tool.whey-pth.name] key is required.") if "pth-content" not in config: raise BadConfigError("The [tool.whey-pth.pth-content] key is required.") parsed_config = super().parse(config, set_defaults=set_defaults) return parsed_config whey-pth-0.0.6/whey_pth/py.typed000066400000000000000000000000001462306206500166020ustar00rootroot00000000000000