-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
36 lines (29 loc) · 965 Bytes
/
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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
# Get the readme
with open('README.md') as f:
readme = f.read()
# Get the licence
with open('LICENSE') as f:
license = f.read()
# Get the version
mypackage_root_dir = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(mypackage_root_dir, "cmseaice", 'VERSION')) as version_file:
version = version_file.read().strip()
# Package requirements
with open("requirements.txt") as f:
requirements = f.read().splitlines()
setup(
name='cmseaice',
version=version,
description='Colormaps for visualizing sea ice thickness and other sea ice parameters',
long_description=readme,
author='Stefan Hendricks',
author_email='[email protected]',
url='https://github.com/shendric/cmseaice',
license=license,
install_requires=requirements,
packages=find_packages(exclude=('tests', 'docs')),
include_package_data=True,
)