Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
79 lines (72 loc) · 2.69 KB

File metadata and controls

79 lines (72 loc) · 2.69 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import os, glob
from setuptools import setup, find_packages
with open("metaflow/version.py", mode="r") as f:
version = f.read().splitlines()[0].split("=")[1].strip(" \"'")
def read_dev_requirements():
with open("devtools/requirements-devstack.txt") as f:
return [l.strip() for l in f if l.strip() and not l.startswith("#")]
def find_devtools_files():
# Returns a list of (install_dir, [files]) tuples preserving subdirectory structure.
entries = {}
for path in glob.iglob("devtools/**/*", recursive=True):
if os.path.isfile(path):
rel_dir = os.path.dirname(path) # e.g. "devtools/tilt/k8s"
install_dir = os.path.join(
"share/metaflow", rel_dir
) # e.g. "share/metaflow/devtools/tilt/k8s"
entries.setdefault(install_dir, []).append(path)
return list(entries.items())
setup(
include_package_data=True,
name="metaflow",
version=version,
description="Metaflow: More AI and ML, Less Engineering",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Metaflow Developers",
author_email="help@metaflow.org",
license="Apache Software License",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
],
project_urls={
"Source": "https://github.com/Netflix/metaflow",
"Issues": "https://github.com/Netflix/metaflow/issues",
"Documentation": "https://docs.metaflow.org",
},
packages=find_packages(exclude=["metaflow_test"]),
py_modules=[
"metaflow",
],
package_data={
"metaflow": [
"tutorials/*/*",
"plugins/env_escape/configurations/*/*",
"py.typed",
"**/*.pyi",
]
},
data_files=find_devtools_files(),
entry_points="""
[console_scripts]
metaflow=metaflow.cmd.main_cli:start
metaflow-dev=metaflow.cmd.make_wrapper:main
""",
install_requires=["requests", "boto3"],
extras_require={
"stubs": ["metaflow-stubs==%s" % version],
"dev": read_dev_requirements(),
},
)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.