This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.78 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
import pathlib
from setuptools import find_packages, setup
here = pathlib.Path(__file__).parent.resolve()
name = "lightonmuse"
description = "Python client for the LightOn Muse API"
# Get the long description from the README file
long_description = (here / 'README.md').read_text(encoding='utf-8')
author = "LightOn AI Research"
author_email = "[email protected]"
classifiers = [
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
]
try:
setup(
name=name,
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
author=author,
author_email=author_email,
url='https://github.com/lightonai/lightonmuse',
use_scm_version=True,
setup_requires=["setuptools_scm"],
install_requires=["requests>=2.26.0", "numpy>=1.21.6"],
packages=find_packages(exclude=["examples", "tests"]),
keywords=["NLP", "API", "AI"],
classifiers=classifiers
)
except LookupError:
setup(
name=name,
description=description,
long_description=long_description,
author=author,
author_email=author_email,
version="test",
packages=find_packages("lightonmuse", exclude=["examples", "tests"]),
classifiers=classifiers
)