diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index e41dd8d2..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,73 +0,0 @@ -name: Publish cgat-apps wheels to PyPI and TestPyPI - -on: - push: - branches: - - v[0-9]+.[0-9]+.x - tags: - - v* - release: - types: - - published - -jobs: - - build_sdist: - - runs-on: ${{ matrix.os }}-latest - strategy: - matrix: - os: [ubuntu, macos] - python-version: [3.10] - - steps: - - name: Checkout cgat-apps - uses: actions/checkout@v2 - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install prerequisite Python libraries - run: | - python -m pip install --upgrade pip - pip install wheel - - - name: Create source distribution - run: python setup.py sdist bdist_wheel - - - uses: actions/upload-artifact@v2 - with: - path: dist/*.tar.gz - - - uses: actions/upload-artifact@v2 - with: - path: dist/*.whl - - upload_pypi: - - needs: [build_sdist] - runs-on: ubuntu-latest - - steps: - - name: Get Artifacts - uses: actions/download-artifact@v2 - with: - name: artifact - path: dist - - - name: Publish distribution to Test PyPI - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - - - name: Publish distribution to PyPI - if: github.event_name == 'release' && github.event.action == 'published' - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.PYPI_API_TOKEN }} - diff --git a/MANIFEST.in b/MANIFEST.in index 54d5337d..aae95799 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,25 +1 @@ -# -# Use .add_data_files and .add_data_dir methods in a appropriate -# setup.py files to include non-python files such as documentation, -# data, etc files to distribution. Avoid using MANIFEST.in for that. -# -include MANIFEST.in -include LICENSE -include INSTALL -include README.rst -include KNOWN_BUGS -include THANKS.txt - -include install.sh -include requires.txt - -include cgat/Components/*.h -include cgat/Components/*.cpp -include cgat/NCL/*.h -include cgat/NCL/*.pxd -include cgat/NCL/intervaldb.c -include cgat/Components/connected_components.h -include cgat/Components/connected_components.cpp -exclude cgat/Components/Components.cpp -include cgat/BamTools/*.pyx -include cgat/VCFTools/*.pyx +recursive-exclude tests * diff --git a/cgat/version.py b/cgat/version.py index a5f830a2..4910b9ec 100644 --- a/cgat/version.py +++ b/cgat/version.py @@ -1 +1 @@ -__version__ = "0.7.1" +__version__ = "0.7.3" diff --git a/setup.py b/setup.py index adb4ccd7..1cc415ea 100644 --- a/setup.py +++ b/setup.py @@ -169,7 +169,7 @@ def is_exe(fpath): elif major == 3: pass -cgat_packages = find_packages() +cgat_packages = find_packages(exclude=['tests']) cgat_package_dirs = {'cgat': 'cgat'} ##########################################################