-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (26 loc) · 934 Bytes
/
setup.py
File metadata and controls
31 lines (26 loc) · 934 Bytes
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
with open('requirements.txt') as f:
requirements = f.read().splitlines()
if os.name == 'nt':
# install cfchecker on linux and mac systems
requirements = [x for x in requirements if not x.startswith('cfchecker')]
with open('README.rst') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='uc2data',
version='0.4.0',
description='Package for working with netCDF files following the [UC]² data standard',
long_description=readme,
author='Achim Holtmann, Tom Grassmann',
author_email='achim.holtmann@tu-berlin.de, grassmann@tu-berlin.de',
url='https://gitlab.klima.tu-berlin.de/klima/uc2data.git',
license=license,
include_package_data=True,
install_requires=requirements,
packages=find_packages(exclude=('tests', 'docs')),
scripts=['scripts/uc2check']
)