11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33
4- import pathlib
54from setuptools import setup , find_packages
6- import pkg_resources
75
6+ install_requires = [
7+ # core
8+ 'requests' ,
9+ 'pyyaml' ,
10+ 'docopt' ,
11+ 'jinja2' ,
12+ 'pyvirtualdisplay' ,
813
9- def get_install_requires ():
10- install_requires = []
11- with pathlib .Path ('requirements.txt' ).open () as requirements_txt :
12- install_requires = [
13- str (requirement )
14- for requirement
15- in pkg_resources .parse_requirements (requirements_txt )
16- ]
17- return install_requires
14+ # for running models
15+ 'pyqt5' ,
16+ 'ipython' ,
17+ 'matplotlib' ,
18+ 'scipy' ,
19+ '2to3' ,
20+ ]
21+
22+ with open ('README.md' , 'r' , encoding = 'utf-8' ) as f :
23+ long_description = f .read ()
1824
1925
2026def setup_package ():
2127
2228 setup (
2329 name = 'nrn-modeldb-ci' ,
24- version = '0.0.1' ,
30+ description = 'NEURON ModelDB CI tools' ,
31+ url = 'https://github.com/neuronsimulator/nrn-modeldb-ci' ,
32+ author = 'EPFL Blue Brain Project & Yale' ,
33+ 34+ license = 'BSD-3-Clause' ,
2535 packages = find_packages (),
26- install_requires = get_install_requires (),
36+ use_scm_version = True ,
37+ include_package_data = True ,
38+ install_requires = install_requires ,
39+ setup_requires = ['setuptools_scm' ],
2740 entry_points = dict (
2841 console_scripts = [
2942 'runmodels = modeldb.commands:runmodels' ,
@@ -34,6 +47,8 @@ def setup_package():
3447 'diffreports2html = modeldb.commands:diffreports2html' ,
3548 ]
3649 ),
50+ long_description = long_description ,
51+ long_description_content_type = "text/markdown" ,
3752 )
3853
3954
0 commit comments