-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·40 lines (37 loc) · 1.28 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# System modules
import os
from setuptools import setup, find_packages
from numericalmodel import __version__
def read_file(filename):
with open(filename) as f:
return f.read()
# run setup
# take metadata from setup.cfg
setup(
name = "numericalmodel",
description = "abstract classes to set up and run a numerical model",
author = "Yann Büchau",
author_email = "yann.buechau@web.de",
keywords = "modelling",
license = "GPLv3",
version = __version__,
url = 'https://github.com/nobodyinperson/python3-numericalmodel',
download_url = ("https://github.com/nobodyinperson/"
"python3-numericalmodel/archive/v{}.tar.gz").format(__version__),
long_description = read_file("README.rst"),
classifiers = [
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
],
test_suite = 'tests',
tests_require = [ 'numpy' ],
extras_require = {
"gui": ["matplotlib"],
},
install_requires = [ 'numpy', 'scipy' ],
packages = find_packages(exclude=['tests']),
)