From 290fe8b1fa36cc5d6afeaaf4860d6c3106f652f6 Mon Sep 17 00:00:00 2001 From: Bradley Lowekamp Date: Tue, 30 Mar 2021 10:04:48 -0400 Subject: [PATCH] Consistently name package tomojs_pytools. Consitently use underscore in name of package since wheels convert '-' to '_'. --- .github/workflows/main.yml | 4 ++-- README.rst | 4 ++-- setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a996461..b08d3df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -98,8 +98,8 @@ jobs: id: files run: | cd ${{steps.download.outputs.download-path}} - echo ::set-output name=file1::$(ls tomojs-pytools*any.whl) - echo ::set-output name=file2::$(ls tomojs-pytools*.tar.gz) + echo ::set-output name=file1::$(ls tomojs_pytools*any.whl) + echo ::set-output name=file2::$(ls tomojs_pytools*.tar.gz) - name: Create Release id: create_release uses: actions/create-release@v1 diff --git a/README.rst b/README.rst index 7061486..028957f 100644 --- a/README.rst +++ b/README.rst @@ -7,9 +7,9 @@ Neuroglancer precompute pyramid formats. Installation ------------ -Use `pip` to install the pytools package: +Use `pip` to install the tomojs_pytools package: -`python3 -m pip install pytools` +`python3 -m pip install tomojs_pytools` The requirements are specified conventionally in requirements.txt and setup.py, so they will be enforced at installation time. Additionally, diff --git a/setup.py b/setup.py index d070d53..8633a06 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ requirements = list(filter(bool, (line.strip() for line in fp))) setup( - name="tomojs-pytools", + name="tomojs_pytools", use_scm_version={"local_scheme": "dirty-tag"}, author="Bradley Lowekamp", author_email="bioinformatics@niaid.nih.gov",