Skip to content

Commit

Permalink
Set version number in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanrjc committed Mar 11, 2016
1 parent de990f2 commit 2b144c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
from distutils.util import get_platform, change_root, convert_path

class check_and_build( build ):

def run(self):
chk = True
for req in require_python:
chk &= self.check_python(req)
for req in require_packages:
chk &= self.check_package(req)
if not chk:
if not chk:
sys.exit(1)
build.run(self)

Expand Down Expand Up @@ -70,7 +70,7 @@ def check_package(self, req):
class install_integron_finder(install):

#I use record to store all installed files and reuse this record file for uninstall
#so this option is not available anymore for the users
#so this option is not available anymore for the users
for i, opt in enumerate(install.user_options):
if opt[0] == 'record=':
install.user_options.pop(i)
Expand Down Expand Up @@ -139,7 +139,7 @@ def finalize_options(self):
('force', 'force'),
)
self.prefix_data = self.install_dir
self.files_2_install = self.distribution.data_files
self.files_2_install = self.distribution.data_files
with open(self.distribution.uninstall_prefix, "a") as _f:
_f.write('install_data = {}\n'.format(self.install_dir))

Expand Down Expand Up @@ -331,7 +331,7 @@ def subst_vars(src, dst, vars):
'matplotlib (>=1.4.2)']

setup(name='integron_finder',
version=time.strftime("%Y%m%d"),
version="Version 1.4",
description="""Integron Finder aims at detecting integrons in DNA sequences
by finding particular features of the integron:
the attC sites, the integrase
Expand Down

0 comments on commit 2b144c8

Please sign in to comment.