1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/mirrors-HiPlot

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
setup.py 1.7 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
dan_the_3rd Отправлено 08.02.2021 19:58 9453a05
#!/usr/bin/env python
# Copyright (c) Facebook, Inc. and its affiliates.
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import re
import os
import sys
import importlib.util
from pathlib import Path
from typing import Dict, List
import setuptools
from distutils.core import setup
requirements: Dict[str, List[str]] = {}
for extra in ["dev", "main"]:
# Skip `package @ git+[repo_url]` because not supported by pypi
requirements[extra] = [r
for r in Path(f"requirements/{extra}.txt").read_text().splitlines()
if '@' not in r
]
# Find version number
spec = importlib.util.spec_from_file_location("hiplot.pkginfo", str(Path(__file__).parent / "hiplot" / "pkginfo.py"))
pkginfo = importlib.util.module_from_spec(spec)
spec.loader.exec_module(pkginfo)
version = pkginfo.version
def readme() -> str:
return open("README.md").read()
setup(
name="hiplot",
version=version,
description="High dimensional Interactive Plotting tool",
long_description=readme(),
long_description_content_type="text/markdown",
url='https://github.com/facebookresearch/hiplot',
author="Facebook AI Research",
packages=["hiplot"],
install_requires=requirements["main"],
extras_require={"dev": requirements["dev"]},
package_data={"hiplot": ["py.typed", "static/*", "static/built/*", "static/built/streamlit_component/*", "templates/*"]},
include_package_data=True,
entry_points={
'console_scripts': [
'hiplot = hiplot.server:run_server_main',
'hiplot-render = hiplot.render:hiplot_render_main',
]
},
python_requires='>=3.6',
)

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/mirrors-HiPlot.git
git@api.gitlife.ru:oschina-mirror/mirrors-HiPlot.git
oschina-mirror
mirrors-HiPlot
mirrors-HiPlot
main