-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·52 lines (46 loc) · 1.42 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
41
42
43
44
45
46
47
48
49
50
51
52
import fnmatch
import os
from setuptools import setup, find_packages
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("cfstore/", "", 1)
plugins = [f for f in find_package_data_files("cfstore/plugins")]
package_data = plugins
setup(
name='cfstore',
version='0.3.0',
packages=find_packages(),
url='',
license='MIT',
author='Bryan Lawrence + George OBrien',
author_email='[email protected]',
description='Provides an interface to managing cf compliant data held in multiple storage locations',
platforms=["Linux", "MacOS"],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS"
],
install_requires=[
'click',
'BeautifulSoup4',
'paramiko',
'rich',
'sphinx-click',
'cfdm',
'python-dateutil'
],
entry_points={
'console_scripts': [
'cfdb=cfstore.cfdb:safe_cli',
'cfin=cfstore.cfin:safe_cli',
'cfmv=cfstore.cfmv:safe_cli'
],
},
package_data={"cfstore": package_data},
)