-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
92 lines (86 loc) · 2.73 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
import io
import skluc
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with io.open(os.path.join(*paths), "r", encoding="UTF-8") as f:
return f.read()
long_description = (
read("README.rst")
+ "\n\n"
+ read("AUTHORS.rst")
+ "\n\n"
+ read("LICENSE.rst")
+ "\n\n"
)
print(long_description)
setup(
# name of the package
name="scikit-luc",
# You can specify all the packages manually or use the find_package
# function
packages=find_packages(exclude=["doc", "examples"]),
# See PEP440 for defining a proper version number
version=str(skluc.__version__),
# Small description of the package
description="Science-Kit with some utilities for machine learning.",
# Long description
long_description=(long_description),
# Project home page:
url="",
# license, author and author email
license="GPL, Version 3",
author="Luc Giffon",
author_email="[email protected]",
# If any packages contains data which are not python files, include them
# package_data={'myapp': 'data/*.gif'},
install_requires=[
"daiquiri",
"numpy",
"scikit-learn",
"numba",
"keras",
"scipy",
"psutil",
"imageio",
"matplotlib",
"docopt",
"opencv-python",
"opencv-contrib-python",
"googledrivedownloader",
"requests",
"click",
"loguru",
"pandas",
"pyyaml",
"click_pathlib",
],
# classifiers is needed for uploading package on pypi.
# The list of classifiers elements can be found at :
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Natural Language :: English",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
],
# What does your project relate to?
# keywords=['Linux', 'MacOSX', 'Windows'],
# Platforms on which the package can be installed:
# platforms=['Linux'],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
"console_scripts": [
"lazygrid=skluc.tools.lazygrid:main",
"csvgatherer=skluc.tools.csvgatherer:main",
],
},
)