Commit 01d41607 authored by anton's avatar anton
Browse files

fix missing requirements.txt in sdist

bump version to 1.0.1 (issue was hard to spot on test pypi due to pyproject.toml not finding setuptools)
add package script
parent cfce9fbf
include requirements.txt
\ No newline at end of file
#!/usr/bin/env bash
ROOT=$(realpath $(dirname $0))
cd ${ROOT}
python3 -m pip install --upgrade setuptools wheel twine
python3 setup.py sdist
echo "Inspect dist and upload with \"python3 -m twine upload dist/*\""
...@@ -10,7 +10,7 @@ with open('requirements.txt') as f: ...@@ -10,7 +10,7 @@ with open('requirements.txt') as f:
setup( setup(
name='torch_discounted_cumsum', name='torch_discounted_cumsum',
version='1.0.0', version='1.0.1',
description='Fast discounted cumulative sums in PyTorch', description='Fast discounted cumulative sums in PyTorch',
install_requires=requirements, install_requires=requirements,
python_requires='>=3.6', python_requires='>=3.6',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment