forked from NCAS-CMS/cf-plot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (33 loc) · 1.16 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
from setuptools import setup
import os
import fnmatch
import sys
import importlib
import subprocess
def find_package_data_files(directory):
for root, dirs, files in os.walk(directory):
for basename in files:
if fnmatch.fnmatch(basename, '*'):
filename = os.path.join(root, basename)
yield filename.replace('cfplot/', '', 1)
package_data = [f for f in find_package_data_files('cfplot/colourmaps')]
setup(
name = "cf-plot",
version = "3.2.21",
author = "Andy Heaps",
author_email = "[email protected]",
packages = ["cfplot"],
package_dir = {"cfplot":"cfplot"},
package_data = {"cfplot": package_data},
include_package_data = True,
install_requires = ["matplotlib >=3.1.0",
"cf-python >= 3.9.0",
"scipy >= 1.4.0",
"cartopy >= 0.17.0"
],
url = "http://ajheaps.github.io/cf-plot",
license = "LICENSE.txt",
description = "Climate contour, vector and line plots in Python",
long_description = open("README.txt").read(),
long_description_content_type = "text/markdown"
)