-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (49 loc) · 1.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
import io
import os
import setuptools
# ==============================================================================
# Utilities
# ==============================================================================
def read(path, encoding="utf-8"):
path = os.path.join(os.path.dirname(__file__), path)
with io.open(path, encoding=encoding) as fp:
return fp.read()
# ==============================================================================
# Variables
# ==============================================================================
DESCRIPTION = "Machine Learning Algorithms from Scratch in Python"
LONG_DESCRIPTION = read("README.md")
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
NAME = "mlalgs"
AUTHOR = "Amirhessam Tahmassebi"
AUTHOR_EMAIL = "[email protected]"
URL = "http://www.amirhessam.com"
DOWNLOAD_URL = "https://github.com/amirhessam88/ml-algs/"
LICENSE = "MIT"
PYTHON_REQUIRES = ">=3.6"
PACKAGES = setuptools.find_packages()
VERSION = "0.0.3"
# ==============================================================================
# Setup
# ==============================================================================
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
download_url=DOWNLOAD_URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
packages=PACKAGES,
license=LICENSE,
python_requires=PYTHON_REQUIRES,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Natural Language :: English",
],
)