|
27 | 27 | from distutils.util import get_platform, change_root, convert_path |
28 | 28 |
|
29 | 29 | class check_and_build( build ): |
30 | | - |
| 30 | + |
31 | 31 | def run(self): |
32 | 32 | chk = True |
33 | 33 | for req in require_python: |
34 | 34 | chk &= self.check_python(req) |
35 | 35 | for req in require_packages: |
36 | 36 | chk &= self.check_package(req) |
37 | | - if not chk: |
| 37 | + if not chk: |
38 | 38 | sys.exit(1) |
39 | 39 | build.run(self) |
40 | 40 |
|
@@ -70,7 +70,7 @@ def check_package(self, req): |
70 | 70 | class install_integron_finder(install): |
71 | 71 |
|
72 | 72 | #I use record to store all installed files and reuse this record file for uninstall |
73 | | - #so this option is not available anymore for the users |
| 73 | + #so this option is not available anymore for the users |
74 | 74 | for i, opt in enumerate(install.user_options): |
75 | 75 | if opt[0] == 'record=': |
76 | 76 | install.user_options.pop(i) |
@@ -139,7 +139,7 @@ def finalize_options(self): |
139 | 139 | ('force', 'force'), |
140 | 140 | ) |
141 | 141 | self.prefix_data = self.install_dir |
142 | | - self.files_2_install = self.distribution.data_files |
| 142 | + self.files_2_install = self.distribution.data_files |
143 | 143 | with open(self.distribution.uninstall_prefix, "a") as _f: |
144 | 144 | _f.write('install_data = {}\n'.format(self.install_dir)) |
145 | 145 |
|
@@ -331,7 +331,7 @@ def subst_vars(src, dst, vars): |
331 | 331 | 'matplotlib (>=1.4.2)'] |
332 | 332 |
|
333 | 333 | setup(name='integron_finder', |
334 | | - version=time.strftime("%Y%m%d"), |
| 334 | + version="Version 1.4", |
335 | 335 | description="""Integron Finder aims at detecting integrons in DNA sequences |
336 | 336 | by finding particular features of the integron: |
337 | 337 | the attC sites, the integrase |
|
0 commit comments