-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
58 lines (53 loc) · 2.08 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
51
52
53
54
55
56
57
58
import os
import sys
from setuptools import setup
if sys.version_info < (3, 2):
print("Sorry, djangocms-genome-browser currently requires Python 3.2+.")
sys.exit(1)
# From: https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
install_requires = [
'Django>=1.7',
'django-cms>=3.0.7,<3.2',
'django-filer>=0.9.10',
]
setup(
name='djangocms-genome-browser',
version='0.1.1',
packages=['cms_genome_browser'],
include_package_data=True,
license='BSD License',
description='A Django app for incorporating a Dalliance genome browser into a Django site with django CMS-specific features',
long_description=(read('README.rst') + '\n\n' +
read('CHANGELOG.rst')),
url='https://github.com/mfcovington/djangocms-genome-browser',
author='Michael F. Covington',
author_email='[email protected]',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Visualization',
],
install_requires=install_requires,
)