-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (33 loc) · 1.11 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
from pathlib import Path
from setuptools import find_namespace_packages, setup
with open("hydra_plugins/hydra_orion_sweeper/__init__.py") as file:
for line in file.readlines():
if 'version' in line:
version = line.split('=')[1].strip().replace('"', "")
break
setup(
name="hydra-orion-sweeper",
version=version,
author="Pierre Delaunay",
author_email="[email protected]",
description="Hydra Orion Sweeper plugin",
long_description=(Path(__file__).parent / "README.rst").read_text(),
url="https://orion.readthedocs.io/",
packages=find_namespace_packages(include=["hydra_plugins.*"]),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
],
setup_requires=[
'setuptools',
],
install_requires=[
"hydra-core>=1.2",
"orion>=0.2.2",
],
include_package_data=True,
)