-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
43 lines (37 loc) · 1.52 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
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.
import time
from setuptools import setup, find_packages
from os import chdir, path, environ
chdir(path.abspath(path.dirname(__file__)))
version = __import__("reco_utils.__init__").VERSION
# Get the long description from the README file
with open(path.join("reco_utils", "README.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
HASH = environ.get("HASH", None)
if HASH is not None:
version += ".post" + str(int(time.time()))
name = environ.get("LIBRARY_NAME", "reco_utils")
setup(
name=name,
version=version,
description="Recommender System Utilities",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/microsoft/recommenders",
author="RecoDev Team at Microsoft",
author_email="[email protected]",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
],
keywords="recommendations recommenders recommender system engine machine learning python spark gpu",
package_dir={"reco_utils": "reco_utils"},
packages=find_packages(where=".", exclude=["tests", "tools", "examples"]),
python_requires=">=3.6, <4",
)