Skip to content

Commit

Permalink
Update setup.py and python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
noscode committed Oct 31, 2024
1 parent 1168503 commit d7fb263
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macos-latest]
python-version: [3.6, 3.8]
python-version: [3.8, 3.10, 3.11]
include:
- os: windows-2019
triplet: x64-windows
Expand Down
11 changes: 1 addition & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,13 @@

NAME = 'gadma'

SUPPORTED_PYTHON_VERSIONS = ['3.6', '3.7', '3.8']

# Check python version
if sys.version[0:3] not in SUPPORTED_PYTHON_VERSIONS:
sys.stderr.write("Python version " + sys.version[0:3] + " is not supported!\n" +
"Supported versions are " + ", ".join(SUPPORTED_PYTHON_VERSIONS) + "\n")
sys.stderr.flush()
sys.exit(1)

# Load up the description from README.rst
with open('README.md') as f:
DESCRIPTION = f.read()

requirements = ['numpy', 'scipy', 'matplotlib',
'Pillow', 'Cython', 'mpmath', 'nlopt', 'ruamel.yaml',
'dadi', 'pandas']
'dadi', 'pandas', 'demes', 'demesdraw', 'moments-popgen']

setup(
name=NAME,
Expand Down

0 comments on commit d7fb263

Please sign in to comment.