-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (33 loc) · 1.27 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
from setuptools import setup, find_packages
from codecs import open
import os
import modelmanager
def package_files(dir):
return [os.path.join(p, f) for (p, d, n) in os.walk(dir) for f in n]
__version__ = modelmanager.__version__
# Get the long description from the README file
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='model-manager',
version=__version__,
description='A python package to manage your (scientific) model runs, input and output.',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/mwort/modelmanager',
download_url='https://github.com/mwort/modelmanager/tarball/' + __version__,
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
],
keywords='',
packages=find_packages(exclude=['docs', 'tests*']),
data_files=package_files('modelmanager/resources'),
scripts=['modelmanager/scripts/modelmanager', 'modelmanager/scripts/mm'],
include_package_data=True,
author='Michel Wortmann',
author_email='[email protected]'
)