11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33
4+ import io
45import os
56from setuptools import setup
6- import numpy
77
88# Version number
99version = '1.0'
1010
1111def read (fname ):
12- return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
12+ with open (fname ) as f :
13+ contents = f .read ()
14+ return contents
1315
1416setup (name = 'DGP' ,
1517 version = version ,
@@ -27,16 +29,27 @@ def read(fname):
2729 package_dir = {'deepgp' : 'deepgp' },
2830 py_modules = ['deepgp.__init__' ],
2931 long_description = read ('README.md' ),
30- install_requires = ['numpy>=1.7' , 'scipy>=0.12' ,'GPy>=1.0' ],
31- include_dirs = [numpy .get_include ()],
32+ install_requires = [
33+ 'numpy>=1.7' ,
34+ 'scipy>=0.12' ,
35+ 'GPy>=1.0' ,
36+ ],
37+ extras_require = {
38+ 'test' : [
39+ 'matplotlib' ,
40+ 'h5py' ,
41+ 'tables' ,
42+ 'theano' ,
43+ ],
44+ },
3245 classifiers = ['License :: OSI Approved :: BSD License' ,
3346 'Natural Language :: English' ,
3447 'Operating System :: MacOS :: MacOS X' ,
3548 'Operating System :: Microsoft :: Windows' ,
3649 'Operating System :: POSIX :: Linux' ,
3750 'Programming Language :: Python :: 2.7' ,
38- 'Programming Language :: Python :: 3.3 ' ,
39- 'Programming Language :: Python :: 3.4 ' ,
40- 'Programming Language :: Python :: 3.5 '
51+ 'Programming Language :: Python :: 3.5 ' ,
52+ 'Programming Language :: Python :: 3.6 ' ,
53+ 'Programming Language :: Python :: 3.7 '
4154 ]
4255 )
0 commit comments