Mercurial > repos > vimalkumarvelayudhan > riboplot
annotate setup.py @ 17:6e3b13906b54
Use packages from the test toolshed. Add bedtools dependency
author | Vimalkumar Velayudhan <vimalkumarvelayudhan@gmail.com> |
---|---|
date | Fri, 28 Aug 2015 11:07:26 +0100 |
parents | 628f82e72d72 |
children |
rev | line source |
---|---|
3 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 | |
4 | |
5 try: | |
6 from setuptools import setup | |
7 except ImportError: | |
8 from distutils.core import setup | |
9 | |
10 | |
11 with open('README.rst') as readme_file: | |
12 readme = readme_file.read() | |
13 | |
14 with open('HISTORY.rst') as history_file: | |
15 history = history_file.read().replace('.. :changelog:', '') | |
16 | |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
17 requirements = ['matplotlib==1.3.1', 'pysam==0.8.3'] |
3 | 18 |
19 test_requirements = [ | |
20 # TODO: put package test requirements here | |
21 ] | |
22 | |
23 setup( | |
24 name='riboplot', | |
25 version='0.1.0', | |
26 description="Plot read counts of RiboSeq data from BAM format alignment files", | |
27 long_description=readme + '\n\n' + history, | |
28 author="Vimalkumar Velayudhan", | |
29 author_email='vimalkumarvelayudhan@gmail.com', | |
30 url='https://github.com/vimalkumarvelayudhan/riboplot', | |
31 packages=[ | |
32 'riboplot', | |
33 ], | |
34 package_dir={'riboplot': | |
35 'riboplot'}, | |
36 install_requires=requirements, | |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
37 license="GPL", |
3 | 38 zip_safe=False, |
39 keywords='riboplot', | |
40 classifiers=[ | |
41 'Development Status :: 2 - Pre-Alpha', | |
42 'Intended Audience :: Developers', | |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
43 'License :: OSI Approved :: GNU General Public License (GPL)', |
3 | 44 'Natural Language :: English', |
45 "Programming Language :: Python :: 2", | |
46 'Programming Language :: Python :: 2.6', | |
47 'Programming Language :: Python :: 2.7', | |
48 ], | |
49 test_suite='tests', | |
14
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
50 tests_require=test_requirements, |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
51 entry_points={ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
52 'console_scripts': [ |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
53 'riboplot = riboplot.riboplot:run', |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
54 'ribocount = riboplot.ribocount:run'] |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
55 }, |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
56 package_data={'riboplot': ['data/*.html', 'data/css/*.gif', 'data/css/*.css', |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
57 'data/js/*.js', 'data/js/*.map', 'scripts/*.sh']}, |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
58 exclude_package_data={'tests': ['data/*.bam', 'data/*.bai', 'data/*.fna', 'data/*.fai']} |
628f82e72d72
Version as released on PyPI 0.1.0
Vimalkumar Velayudhan <vimal@biotechcoder.com>
parents:
3
diff
changeset
|
59 ) |