-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
54 lines (48 loc) · 2.08 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
53
54
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# =============================================================================
# ___ ___ _____ _______
# | \/ | |_ _| | | ___ \
# | . . |_ _ ___ ___ ___ | | ___ ___ | | |_/ / _____ __
# | |\/| | | | / __|/ _ \/ _ \ | |/ _ \ / _ \| | ___ \/ _ \ \/ /
# | | | | |_| \__ \ __/ (_) | | | (_) | (_) | | |_/ / (_) > <
# \_| |_/\__,_|___/\___|\___/ \_/\___/ \___/|_\____/ \___/_/\_\
#
# @author: Nicolas Karasiak
# @site: www.karasiak.net
# @git: www.github.com/nkarasiak/MuseoToolBox
# =============================================================================
import re
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
open('museotoolbox/__init__.py').read()).group(1)
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
setuptools.setup(
name='museotoolbox',
version=__version__,
description='Raster and vector tools for Remote Sensing and Classification, built upon gdal library',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/nkarasiak/MuseoToolBox',
author='Nicolas Karasiak',
author_email='[email protected]',
license='GPLv3',
install_requires=['numpy>=1.10',
'scipy>=1.0',
'scikit-learn>=0.16',
'matplotlib',
'joblib',
'psutil'],
packages=setuptools.find_packages(),
classifiers=[
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: GIS",
"Programming Language :: Python :: 3",
"Intended Audience :: Science/Research"],
zip_safe=False,
package_data={
'museotoolbox': ['datasets/_historicalmap/map_compress.tif','datasets/_historicalmap/map_lowres.tif','datasets/_historicalmap/train.gpkg','datasets/_historicalmap/train_centroid.gpkg']
}
)