nutter/setup.py

37 строки
1.2 KiB
Python
Исходник Постоянная ссылка Обычный вид История

import setuptools
import cli.nuttercli as nuttercli
with open("README.md", "r") as fh:
long_description = fh.read()
version = nuttercli.get_cli_version()
fix: setup.py includes requirements (#15) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * remove * fix: setup.py installs requirements (#14) * remove settings (#10) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * Clean up (#11) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * remove * Update pythonpublish.yml (#12) * requirements are read * - version update
2019-11-22 08:13:46 +03:00
def parse_requirements(filename):
"""Load requirements from a pip requirements file."""
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
setuptools.setup(
name="nutter",
version=version,
author="Jesus Aguilar, Rob Bagby",
fix: setup.py includes requirements (#15) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * remove * fix: setup.py installs requirements (#14) * remove settings (#10) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * Clean up (#11) * initial commit * readme update * read me update 2 * lint and license * linting fixes * Create pythonpackage.yml * - update python version * Create pythonpublish.yml * Initial commit of runtime * Linting and license update (#5) * lint and license * linting fixes * remove .vs * CICD workflows (#7) * lint and license * linting fixes * - installs dev dependencies * - release workflow * Feature CI/CD workflow (#9) * - installs dev dependencies * - release workflow * - fix workflow name * settings removed * remove * Update pythonpublish.yml (#12) * requirements are read * - version update
2019-11-22 08:13:46 +03:00
install_requires=parse_requirements("requirements.txt"),
author_email="jesus.aguilar@microsoft.com, rob.bagby@microsoft.com",
description="A databricks notebook testing library",
long_description="A databricks notebook testing library",
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'nutter = cli.nuttercli:main'
]},
url="https://github.com/microsoft/nutter",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
2022-12-16 01:56:16 +03:00
python_requires='>=3.7.0',
)