Skip to content

Commit

Permalink
Remove support for Python v2.x
Browse files Browse the repository at this point in the history
- Prepare for introducing vtk/pyvista
  • Loading branch information
sayerhs committed Jul 6, 2021
1 parent bfecd0d commit 65ddc7a
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 83 deletions.
29 changes: 0 additions & 29 deletions etc/caelus2-dev.yml

This file was deleted.

24 changes: 0 additions & 24 deletions etc/caelus2.yml

This file was deleted.

6 changes: 4 additions & 2 deletions etc/caelus3-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
# conda env create -f etc/caelus3.yml
#

name: caelus3-dev
name: caelus-dev

dependencies:
- python=3
- python>=3.6
- pip
- six
- numpy
Expand All @@ -22,6 +22,8 @@ dependencies:
- ply
- pytz
- jinja2
- vtk
- pyvista
- pytest
- pylint
- ipython
Expand Down
8 changes: 5 additions & 3 deletions etc/caelus3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
# For use with Python v3.x
#
# Usage:
# conda env create -f etc/caelus3.yml
# conda env create -f etc/caelus.yml
#

name: caelus3
name: caelus

dependencies:
- python=3
- python>=3.6
- pip
- six
- numpy
Expand All @@ -22,3 +22,5 @@ dependencies:
- ply
- pytz
- jinja2
- vtk
- pyvista
2 changes: 2 additions & 0 deletions etc/conda/caelus/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ requirements:
- ply
- pytz
- jinja2
- vtk
- pyvista

about:
home: https://bitbucket.org/appliedccm/cpl
Expand Down
2 changes: 2 additions & 0 deletions etc/conda/installer/construct-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ specs:
- pyyaml
- pytz
- jinja2
- vtk
- pyvista
- caelus

exclude:
Expand Down
21 changes: 0 additions & 21 deletions etc/requirements-test.txt

This file was deleted.

2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ PyYAML
pytz
Jinja2
ply
vtk
pyvista
#### Additional packages for development
pytest
pylint
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Physics",
Expand All @@ -39,18 +38,20 @@
classifiers=classifiers,
packages=[
'caelus',
'caelus.build',
'caelus.config',
'caelus.utils',
'caelus.fvmesh',
'caelus.io',
'caelus.post',
'caelus.run',
'caelus.io',
'caelus.scripts',
'caelus.build',
'caelus.utils',
],
entry_points="""
[console_scripts]
caelus=caelus.scripts.caelus:main
caelus_tutorials=caelus.scripts.caelus_tutorials:main
caelus_sim=caelus.scripts.caelus_sim:main
""",
python_requires='>=3.6',
)

0 comments on commit 65ddc7a

Please sign in to comment.