Skip to content

Commit

Permalink
add version file
Browse files Browse the repository at this point in the history
  • Loading branch information
pierricmora committed Mar 29, 2024
1 parent 198270b commit a8be44f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elastodynamicsx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

"""Main module for ElastodynamiCSx"""

__version__ = '0.2.2'
from ._version import __version__

from elastodynamicsx import pde, plot, solutions, solvers, utils

Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,13 @@ def run(self):
+ 'echo "\n\t##########\n\t-> running pytest..." && pytest'], shell=True)


exec(open('elastodynamicsx/_version.py').read())

setuptools.setup(
name='ElastodynamiCSx',
author="Pierric Mora",
author_email="[email protected]",
version="0.2.2",
version=__version__,
packages=setuptools.find_packages(),
url='https://github.com/Universite-Gustave-Eiffel/elastodynamicsx',
license='MIT License',
Expand Down

0 comments on commit a8be44f

Please sign in to comment.