Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 113d965

Browse files
committed
Fix packing
1 parent 18b8b57 commit 113d965

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/build-wheels.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@ set -e -x
44
# Install a system package required by our library
55
yum install -y atlas-devel
66

7-
# Install requirements
8-
PYBIN=/opt/python/${PYABI}/bin
9-
REQ_FILE=/io/requirements-wheel.txt
10-
"${PYBIN}/pip" install -r $REQ_FILE
11-
127
# Compile wheels
8+
PYBIN=/opt/python/${PYABI}/bin
139
cd /io
1410
"${PYBIN}/python" setup.py bdist_wheel
1511

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
shell: bash
2929
run: |
3030
source ./.github/workflows/reload-env.sh
31-
if [ $UNAME == "darwin" ]; then export CC="gcc-10"; fi
3231
python setup.py build_ext -i
3332
3433
- name: Test with unittest

.github/workflows/reload-env.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ fi
2121

2222
export PYTHON=$(python -c "import sys; print('.'.join(str(v) for v in sys.version_info[:3]))")
2323

24+
if [ $UNAME == "darwin" ]; then
25+
export CC="gcc-10"
26+
fi
27+
2428
function retry {
2529
retrial=5
2630
if [ $1 == "-n" ]; then

.github/workflows/upload-packages.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ else
2929
conda create --quiet --yes -n wheel python=$PYTHON
3030
conda activate wheel
3131

32-
pip install -r requirements-wheel.txt
33-
CFLAGS=-Wno-error pip wheel --no-deps .
32+
pip wheel --no-deps .
3433

3534
conda activate test
3635

shared_memory/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
from .managers import SharedMemoryManager
44
except ImportError:
55
pass
6+
7+
__version__ = '0.1.0'

0 commit comments

Comments
 (0)