Skip to content

Commit

Permalink
install req
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed May 13, 2024
1 parent 65aa9ff commit 5c06064
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@ services:
python:
- '3.9'
install:
- python -m pip install --upgrade pip
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --profile=minimal -y
- export PATH=${TRAVIS_HOME}/.cargo/bin:$PATH
- rustup update
- python -m pip install --upgrade pip
- pip install maturin
script:
- cd python-bindings
- pip install -r requirements.txt
script:
- ./build.sh

before_deploy:
- python3 -m pip install --upgrade build
- pip install maturin
- echo $'[pypi]\nusername = __token__\npassword = '$PYPI_TOKEN > ~/.pypirc
deploy:
- provider: script
Expand Down
3 changes: 3 additions & 0 deletions python-bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"numpy"
]

0 comments on commit 5c06064

Please sign in to comment.