File tree Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Expand file tree Collapse file tree 2 files changed +2
-21
lines changed Original file line number Diff line number Diff line change 24
24
from .seed import SeedAtoms
25
25
from .build import Buildcell
26
26
27
- __version__ = '0.1.1 '
27
+ __version__ = '0.1.3 '
Original file line number Diff line number Diff line change 20
20
###########################################################################
21
21
22
22
from setuptools import setup , find_packages
23
- version = '0.1.2 '
23
+ version = '0.1.3 '
24
24
25
25
if __name__ == '__main__' :
26
26
from os import path
27
27
import os
28
28
29
- # Check if in a CI environment
30
- is_tagged = False
31
- if os .environ .get ('CI_COMMIT_TAG' ):
32
- ci_version = os .environ ['CI_COMMIT_TAG' ]
33
- is_tagged = True
34
- elif os .environ .get ('CI_JOB_ID' ):
35
- ci_version = os .environ ['CI_JOB_ID' ]
36
- else :
37
- # Note in CI
38
- ci_version = None
39
-
40
- # If in a CI environment, set the version accordingly
41
- if ci_version :
42
- # If this a release, check the consistency
43
- if is_tagged :
44
- assert ci_version == version , 'Inonsistency between versions'
45
- else :
46
- version = ci_version
47
-
48
29
README_PATH = path .join (path .dirname (__file__ ), "README.md" )
49
30
with open (README_PATH ) as fh :
50
31
long_description = fh .read ()
You can’t perform that action at this time.
0 commit comments