forked from earthlab/earthpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
45 lines (36 loc) · 1.42 KB
/
setup.py
File metadata and controls
45 lines (36 loc) · 1.42 KB
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
import os
import setuptools
from numpy.distutils.core import setup
DISTNAME = 'earthpy'
DESCRIPTION = 'Functions for the earthlab course'
MAINTAINER = 'Chris Holdgraf'
MAINTAINER_EMAIL = 'choldgraf@berkeley.edu'
VERSION = '0.0.1-git'
def configuration(parent_package='', top_path=None):
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
from numpy.distutils.misc_util import Configuration
config = Configuration(None, parent_package, top_path)
config.add_subpackage('earthpy')
return config
if __name__ == "__main__":
setup(configuration=configuration,
name=DISTNAME,
maintainer=MAINTAINER,
include_package_data=True,
maintainer_email=MAINTAINER_EMAIL,
description=DESCRIPTION,
version=VERSION,
install_requires=['tqdm', 'pandas', 'numpy', 'geopandas',
'matplotlib', 'rasterio', 'download'],
zip_safe=False, # the package can run out of an .egg file
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: Python',
'Topic :: Software Development',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'],
package_data={DISTNAME: ["data/*.json"]},)