forked from pycaret/pycaret
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_nightly.py
48 lines (38 loc) · 1.63 KB
/
setup_nightly.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
# Copyright (C) 2019-2020 Moez Ali <[email protected]>
# License: MIT, [email protected]
from setuptools import setup, find_packages
import time
nightly_version = "2.3.3"
nightly_readme = f"This is a nightly version of the [PyCaret](https://pypi.org/project/pycaret/) library, intended as a preview of the upcoming {nightly_version} version. It may contain unstable and untested code.\n"
def readme():
with open("README.md") as f:
README = f.read()
return README
with open("requirements.txt") as f:
required = f.read().splitlines()
with open("requirements-optional.txt") as f:
optional_required = f.read().splitlines()
with open("requirements-test.txt") as f:
test_required = f.read().splitlines()
setup(
name="pycaret-nightly",
version=str(nightly_version) + ".dev" + str(int(time.time())),
description="Nightly version of PyCaret - An open source, low-code machine learning library in Python.",
long_description=nightly_readme + readme(),
long_description_content_type="text/markdown",
url="https://github.com/pycaret/pycaret-nightly",
author="Moez Ali",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
include_package_data=True,
install_requires=required,
extras_require={"full": optional_required,
"test": test_required + optional_required},
)