mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-04-24 15:18:43 +02:00
Bump adapt-parser
This commit is contained in:
parent
d721adde36
commit
b80a6a55d0
@ -0,0 +1,49 @@
|
|||||||
|
From 509d23d8abadba2561aec14998607fd9df45a512 Mon Sep 17 00:00:00 2001
|
||||||
|
From: j1nx <p.steenbergen@j1nx.nl>
|
||||||
|
Date: Fri, 18 Jun 2021 21:13:52 +0200
|
||||||
|
Subject: [PATCH 1/1] Simplify setup
|
||||||
|
|
||||||
|
---
|
||||||
|
setup.py | 15 ---------------
|
||||||
|
1 file changed, 15 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 36853d0..a9ae9b4 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -18,26 +18,12 @@ __author__ = 'seanfitz'
|
||||||
|
import os
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
-with open("README.md", "r") as fh:
|
||||||
|
- long_description = fh.read()
|
||||||
|
-
|
||||||
|
-
|
||||||
|
-def required(requirements_file):
|
||||||
|
- """Read requirements file and remove comments and empty lines."""
|
||||||
|
- base_dir = os.path.abspath(os.path.dirname(__file__))
|
||||||
|
- with open(os.path.join(base_dir, requirements_file), 'r') as f:
|
||||||
|
- requirements = f.read().splitlines()
|
||||||
|
- return [pkg for pkg in requirements
|
||||||
|
- if pkg.strip() and not pkg.startswith("#")]
|
||||||
|
-
|
||||||
|
setup(
|
||||||
|
name="adapt-parser",
|
||||||
|
version="0.4.1",
|
||||||
|
author="Sean Fitzgerald",
|
||||||
|
author_email="sean@fitzgeralds.me",
|
||||||
|
description=("A text-to-intent parsing framework."),
|
||||||
|
- long_description=long_description,
|
||||||
|
- long_description_content_type="text/markdown",
|
||||||
|
license=("Apache License 2.0"),
|
||||||
|
keywords="natural language processing",
|
||||||
|
url="https://github.com/MycroftAI/adapt",
|
||||||
|
@@ -55,5 +41,4 @@ setup(
|
||||||
|
'Programming Language :: Python :: 3.9',
|
||||||
|
],
|
||||||
|
|
||||||
|
- install_requires=required('requirements.txt')
|
||||||
|
)
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
@ -1,3 +1,2 @@
|
|||||||
# md5, sha256 from https://pypi.org/pypi/adapt-parser/json
|
# md5, sha256 from https://pypi.org/pypi/adapt-parser/json
|
||||||
md5 f415b363a15c3077a9624280a5bc2d37 adapt-parser-0.3.0.tar.gz
|
sha256 5328ddf76953d04f8f542c8d496c8f3566850e51238653c5cc73f5580f745b65 adapt-parser-0.4.1.tar.gz
|
||||||
sha256 ec04e7f40c3b16f34b797fb8d4ab8e27248f4e4a0b1ecfbb20a013c77ce33341 adapt-parser-0.3.7.tar.gz
|
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PYTHON_ADAPT_PARSER_VERSION = 0.3.7
|
PYTHON_ADAPT_PARSER_VERSION = 0.4.1
|
||||||
PYTHON_ADAPT_PARSER_SOURCE = adapt-parser-$(PYTHON_ADAPT_PARSER_VERSION).tar.gz
|
PYTHON_ADAPT_PARSER_SOURCE = adapt-parser-$(PYTHON_ADAPT_PARSER_VERSION).tar.gz
|
||||||
PYTHON_ADAPT_PARSER_SITE = https://files.pythonhosted.org/packages/9e/db/62eeafa9ad1c0c20d6dd27de9e684c21d90a58f574e55720dc6aae6764ba
|
PYTHON_ADAPT_PARSER_SITE = https://files.pythonhosted.org/packages/68/01/b14c1675cf281654485a15374a8ab7251426c07e7b9e7aa5553a9cf895b8
|
||||||
PYTHON_ADAPT_PARSER_SETUP_TYPE = setuptools
|
PYTHON_ADAPT_PARSER_SETUP_TYPE = setuptools
|
||||||
|
|
||||||
$(eval $(python-package))
|
$(eval $(python-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user