diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:32:55 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 03:32:55 +0000 |
| commit | 06dbf6390fae9cfeb2f1c4103424eb0704c10c77 (patch) | |
| tree | 2dc53bd54585935e6ddc5203ab654d21ac0a0766 /python-metaflow.spec | |
| parent | 1b17ba20b3d2b1dd7dcf9c42ca6c929546618fde (diff) | |
automatic import of python-metaflow
Diffstat (limited to 'python-metaflow.spec')
| -rw-r--r-- | python-metaflow.spec | 240 |
1 files changed, 240 insertions, 0 deletions
diff --git a/python-metaflow.spec b/python-metaflow.spec new file mode 100644 index 0000000..452b916 --- /dev/null +++ b/python-metaflow.spec @@ -0,0 +1,240 @@ +%global _empty_manifest_terminate_build 0 +Name: python-metaflow +Version: 2.8.2 +Release: 1 +Summary: Metaflow: More Data Science, Less Engineering +License: Apache Software License +URL: https://pypi.org/project/metaflow/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6f/1c/25aa65e35b9a93a896d20344f4bbebf1fc72068cf33d4aefeb999654caea/metaflow-2.8.2.tar.gz +BuildArch: noarch + +Requires: python3-requests +Requires: python3-boto3 +Requires: python3-pylint + +%description + + +# Metaflow + +Metaflow is a human-friendly Python/R library that helps scientists and engineers build and manage real-life data science projects. Metaflow was originally developed at Netflix to boost productivity of data scientists who work on a wide variety of projects from classical statistics to state-of-the-art deep learning. + +For more information, see [Metaflow's website](https://metaflow.org) and [documentation](https://docs.metaflow.org). + +## Getting Started + +Getting up and running with Metaflow is easy. + +### Python +Install metaflow from [pypi](https://pypi.org/project/metaflow/): + +```sh +pip install metaflow +``` + +and access tutorials by typing: + +```sh +metaflow tutorials pull +``` + +### R + +Install Metaflow from [github](https://github.com/Netflix/metaflow/tree/master/R): + +```R +devtools::install_github("Netflix/metaflow", subdir="R") +metaflow::install() +``` + +and access tutorials by typing: + +```R +metaflow::pull_tutorials() +``` + +## Get in Touch +There are several ways to get in touch with us: + +* Open an issue at: https://github.com/Netflix/metaflow +* Email us at: help@metaflow.org +* Chat with us on: http://chat.metaflow.org + +## Contributing + +We welcome contributions to Metaflow. Please see our [contribution guide](https://docs.metaflow.org/introduction/contributing-to-metaflow) for more details. + +### Code style + +We use [black](https://black.readthedocs.io/en/stable/) as a code formatter. The easiest way to ensure your commits are always formatted with the correct version of `black` it is to use [pre-commit](https://pre-commit.com/): install it and then run `pre-commit install` once in your local copy of the repo. + + + +%package -n python3-metaflow +Summary: Metaflow: More Data Science, Less Engineering +Provides: python-metaflow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-metaflow + + +# Metaflow + +Metaflow is a human-friendly Python/R library that helps scientists and engineers build and manage real-life data science projects. Metaflow was originally developed at Netflix to boost productivity of data scientists who work on a wide variety of projects from classical statistics to state-of-the-art deep learning. + +For more information, see [Metaflow's website](https://metaflow.org) and [documentation](https://docs.metaflow.org). + +## Getting Started + +Getting up and running with Metaflow is easy. + +### Python +Install metaflow from [pypi](https://pypi.org/project/metaflow/): + +```sh +pip install metaflow +``` + +and access tutorials by typing: + +```sh +metaflow tutorials pull +``` + +### R + +Install Metaflow from [github](https://github.com/Netflix/metaflow/tree/master/R): + +```R +devtools::install_github("Netflix/metaflow", subdir="R") +metaflow::install() +``` + +and access tutorials by typing: + +```R +metaflow::pull_tutorials() +``` + +## Get in Touch +There are several ways to get in touch with us: + +* Open an issue at: https://github.com/Netflix/metaflow +* Email us at: help@metaflow.org +* Chat with us on: http://chat.metaflow.org + +## Contributing + +We welcome contributions to Metaflow. Please see our [contribution guide](https://docs.metaflow.org/introduction/contributing-to-metaflow) for more details. + +### Code style + +We use [black](https://black.readthedocs.io/en/stable/) as a code formatter. The easiest way to ensure your commits are always formatted with the correct version of `black` it is to use [pre-commit](https://pre-commit.com/): install it and then run `pre-commit install` once in your local copy of the repo. + + + +%package help +Summary: Development documents and examples for metaflow +Provides: python3-metaflow-doc +%description help + + +# Metaflow + +Metaflow is a human-friendly Python/R library that helps scientists and engineers build and manage real-life data science projects. Metaflow was originally developed at Netflix to boost productivity of data scientists who work on a wide variety of projects from classical statistics to state-of-the-art deep learning. + +For more information, see [Metaflow's website](https://metaflow.org) and [documentation](https://docs.metaflow.org). + +## Getting Started + +Getting up and running with Metaflow is easy. + +### Python +Install metaflow from [pypi](https://pypi.org/project/metaflow/): + +```sh +pip install metaflow +``` + +and access tutorials by typing: + +```sh +metaflow tutorials pull +``` + +### R + +Install Metaflow from [github](https://github.com/Netflix/metaflow/tree/master/R): + +```R +devtools::install_github("Netflix/metaflow", subdir="R") +metaflow::install() +``` + +and access tutorials by typing: + +```R +metaflow::pull_tutorials() +``` + +## Get in Touch +There are several ways to get in touch with us: + +* Open an issue at: https://github.com/Netflix/metaflow +* Email us at: help@metaflow.org +* Chat with us on: http://chat.metaflow.org + +## Contributing + +We welcome contributions to Metaflow. Please see our [contribution guide](https://docs.metaflow.org/introduction/contributing-to-metaflow) for more details. + +### Code style + +We use [black](https://black.readthedocs.io/en/stable/) as a code formatter. The easiest way to ensure your commits are always formatted with the correct version of `black` it is to use [pre-commit](https://pre-commit.com/): install it and then run `pre-commit install` once in your local copy of the repo. + + + +%prep +%autosetup -n metaflow-2.8.2 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-metaflow -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 2.8.2-1 +- Package Spec generated |
