Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4d0229d7 authored by MERCIER Michael's avatar MERCIER Michael
Browse files

Set the vesion correctly

parent c01ddb0d
Branches release
Tags 2.1.1
No related merge requests found
__version__ = "2.1.1"
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
import subprocess
......@@ -106,12 +106,19 @@ class FormatCommand(UserCommand):
self.path)
# To change the version, set it in this file:
# ./batsim/__init__.py
version = {}
with open("./batsim/__init__.py") as fp:
exec(fp.read(), version)
# later on we use: version['__version__']
setup(
name='pybatsim',
author="Michael Mercier",
author_email="michael.mercier@inria.fr",
version=2.0,
url='https://gitlab.inria.fr/batsim/pybatsim',
version=version['__version__'],
packages=find_packages(),
install_requires=requirements,
setup_requires=setup_requirements,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment