forked from nkarasiak/MuseoToolBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (43 loc) · 1.92 KB
/
Copy pathsetup.py
File metadata and controls
48 lines (43 loc) · 1.92 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
46
47
48
#!/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',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/nkarasiak/MuseoToolBox',
author='Nicolas Karasiak',
author_email='karasiak.nicolas@gmail.com',
license='GPLv3',
install_requires=["numpy","scipy","matplotlib","scikit-learn",'joblib'],
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']
}
)