Skip to content

Commit

Permalink
Replaced theseus-ai by theseus-opt.
Browse files Browse the repository at this point in the history
  • Loading branch information
luisenp committed Aug 24, 2022
1 parent a0c4ef0 commit 867461f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build_scripts/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ for PYTHON_VERSION in 3.9; do
CP_STR="cp"$(echo ${PYTHON_VERSION} | sed 's/[.]//g')
if [[ ${CUDA_VERSION} == "cpu" ]]
then
DOCKER_WHL="theseus/dist/theseus_ai-${TAG}-py3-none-any.whl"
HOST_WHL="theseus_ai-${TAG}-py3-none-any.whl"
DOCKER_WHL="theseus/dist/theseus_opt-${TAG}-py3-none-any.whl"
HOST_WHL="theseus_opt-${TAG}-py3-none-any.whl"
else
DOCKER_WHL="theseus/dist/theseus_ai-${TAG}-${CP_STR}-${CP_STR}-linux_x86_64.whl"
DOCKER_WHL="theseus/dist/theseus_opt-${TAG}-${CP_STR}-${CP_STR}-linux_x86_64.whl"
if [[ ${CUDA_VERSION} == "10.2" ]]
then
PLUS_CU_TAG="" # 10.2 will be the pypi version, so don't add +cu102
Expand All @@ -73,7 +73,7 @@ for PYTHON_VERSION in 3.9; do
HOST_WHL="theseus_ai-${TAG}${PLUS_CU_TAG}-${CP_STR}-${CP_STR}-manylinux_2_17_x86_64.whl"
fi

sudo docker cp "${DOCKER_NAME}:theseus/dist/theseus-ai-${TAG}.tar.gz" "${DOCKER_DIR}/theseus-ai-${TAG}.tar.gz"
sudo docker cp "${DOCKER_NAME}:theseus/dist/theseus-opt-${TAG}.tar.gz" "${DOCKER_DIR}/theseus-opt-${TAG}.tar.gz"
sudo docker cp "${DOCKER_NAME}:${DOCKER_WHL}" ${DOCKER_DIR}/${HOST_WHL}
sudo docker rm ${DOCKER_NAME}
sudo docker image rm "${DOCKER_NAME}_img"
Expand Down
2 changes: 1 addition & 1 deletion docs/source/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Installing
^^^^^^^^^^
.. code-block:: bash
pip install theseus-ai
pip install theseus-opt
If you are interested in contributing to ``theseus``, instead install

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def parse_requirements_file(path):
ext_modules = []

setuptools.setup(
name="theseus-ai",
name="theseus-opt",
version=version,
author="Meta Research",
description="A library for differentiable nonlinear optimization.",
Expand Down

0 comments on commit 867461f

Please sign in to comment.