-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
51 lines (40 loc) · 1.26 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python
from os.path import join, dirname
from setuptools import setup
directory = dirname(__file__)
# Get version
with open(join(directory,'nesoni','__init__.py'),'rU') as f:
exec f.readline()
with open(join(directory,'nesoni','nesoni-r','R','nesoni_version.R'),'wb') as f:
print >> f, '#Autogenerated'
print >> f, 'nesoni_version <- function() { \''+ VERSION + '\' }'
setup(
name='nesoni',
version=VERSION,
description = 'Collection of tools for processing high-throughput sequencing data, with an emphasis on bacterial data.',
author = 'Paul Harrison',
author_email = '[email protected]',
url = 'http://bioinformatics.net.au/software.nesoni.shtml',
packages = [
'nesoni',
'nesoni.third_party',
'nesoni.third_party.vcf',
'treemaker',
],
package_data = {
'nesoni' : [
'nesoni-r/DESCRIPTION',
'nesoni-r/NAMESPACE',
'nesoni-r/R/*',
'CHANGES',
],
},
entry_points = {
'console_scripts' : [
'nesoni = nesoni:main',
]
},
classifiers = [
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
],
)