Skip to content

Commit e10c0e7

Browse files
Update setup.py
1 parent c52d9a1 commit e10c0e7

File tree

1 file changed

+14
-23
lines changed

1 file changed

+14
-23
lines changed

setup.py

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,32 @@
1-
#!/usr/bin/env python
2-
#Last-modified: 17 Jul 2017 11:00:55 AM
3-
4-
# Module/Scripts Description
5-
#
6-
# Copyright (c) 2008 Yunfei Wang <[email protected]>
7-
#
8-
# This code is free software; you can redistribute it and/or modify it
9-
# under the terms of the BSD License (see the file COPYING included with
10-
# the distribution).
11-
#
12-
# @status: experimental
13-
# @version: 1.1.0
14-
# @author: Yunfei Wang
15-
# @contact: [email protected]
16-
17-
18-
1+
#! /usr/bin/env python
2+
# coding: utf-8
3+
# branch: dev
4+
# version: 1.0.1
5+
# license: BSD,AGPL
6+
# author: Yunfei Wang ([email protected]),
7+
# Baochen Yang ([email protected])
198

209

2110
import os,sys
2211
from setuptools import setup, find_packages, Extension
2312

24-
13+
def get_py_ver():
14+
retrun float(sys.version[:3])
2515

2616
if __name__ == '__main__':
2717

28-
# includepy = "%s/include/python%s" % (sys.prefix, sys.version[:3])
18+
# decsription
2919
with open("README.rst",'r') as fh:
3020
long_description = fh.read()
3121
idx = long_description.find('\n')
3222
description = long_description[:idx].rstrip()
33-
# ngsplot version
23+
24+
# version
3425
PROG, VERSION = 'pycircos','1.0.1'
3526

3627
# Compile Kent lib
3728
if 'clean' in sys.argv:
38-
print >>sys.stderr, "Clean dist and egg info ..."
29+
print >> sys.stderr, "Clean dist and egg info ..."
3930
os.system('if [ -d dist ]; then rm -rf dist; fi')
4031
os.system('if [ -f {0}.egg-info ]; then rm {0}.egg-info; fi'.format(PROG))
4132
os.system('if [ -d {0}.egg-info ]; then rm -rf {0}.egg-info; fi'.format(PROG))
@@ -50,7 +41,7 @@
5041
elif float(sys.version[:3]) == 2.7:
5142
print("Sorry, We do recommand that you shoud move to a new version fo python than Python3.5+ ")
5243
package_dir={PROG:'v2'}
53-
install_requires.append(["matplotlib == 2.0.2"])
44+
install_requires.append(["matplotlib >= 2.0.2"])
5445

5546
elif float(sys.version[:3]) >= 3.5:
5647
package_dir={PROG:'v3'}

0 commit comments

Comments
 (0)