Skip to content

Commit d243499

Browse files
committed
Explicitly include header files. #33
Revert "Build egg for Linux #33."
1 parent b46a58f commit d243499

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
1212
strategy:
1313
matrix:
14-
os: [macos-latest, windows-latest, ubuntu-latest] # we'll use the sdist for linux
14+
os: [macos-latest, windows-latest] # we'll use the sdist for linux
1515
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1616
exclude:
1717
- os: macos-latest
@@ -33,18 +33,14 @@ jobs:
3333
pip install -r requirements.txt
3434
- name: Run tests
3535
run: python setup.py test
36-
- name: Build wheel
37-
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'windows-latest' }}
36+
- name: Build package
3837
run: python setup.py bdist_wheel
39-
- name: Build egg
40-
if: ${{ matrix.os == 'ubuntu-latest' }}
41-
run: python setup.py bdist_egg
4238
- name: Build sdist
4339
# same source for all versions
4440
if: ${{ matrix.os == 'macos-latest' && matrix.python-version == '3.10' }}
4541
run: python setup.py sdist
46-
- name: Publish package on Mac and Linux
47-
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' }}
42+
- name: Publish package on Mac
43+
if: ${{ matrix.os == 'macos-latest' }}
4844
run: twine upload --skip-existing dist/*
4945
- name: Publish package on Windows
5046
if: ${{ matrix.os == 'windows-latest' }}

MANIFEST.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
include LICENSE.txt config.h src/cfreesasa.pxd src/*.pyx
2+
3+
include lib/src/lexer.h lib/src/classifier.h lib/src/pdb.h lib/src/freesasa.h \
4+
lib/src/parser.h lib/src/coord.h lib/src/freesasa_internal.h lib/src/selection.h lib/src/nb.h

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
setup(
5858
name='freesasa',
59-
version= '2.2.0.post2',
59+
version= '2.2.0.post3',
6060
description='Calculate solvent accessible surface areas of proteins',
6161
long_description=long_description,
6262
author='Simon Mitternacht',

0 commit comments

Comments
 (0)