From d97e2079a633736d0323e915cabff5f91cfd4ebe Mon Sep 17 00:00:00 2001 From: umarcor Date: Wed, 23 Jun 2021 02:54:57 +0200 Subject: setup.py: get a zipfile instead of using git (cherry picked from commit 541815223c0df0fb2cdd227d3ca9e5a82135dc28) --- setup.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 32acf3456..330247011 100644 --- a/setup.py +++ b/setup.py @@ -64,11 +64,9 @@ def get_requirements(file: Path) -> List[str]: for line in fh.readlines(): if line.startswith("#"): continue - elif line.startswith("git+"): - _splitItems = line.split("#") - requirements.append( - "{} @ {}".format(_splitItems[1].strip(), _splitItems[0]) - ) + elif line.startswith("https"): + _splitItems = line.strip().split("#") + requirements.append("{} @ {}".format(_splitItems[1], _splitItems[0])) else: requirements.append(line.strip()) return requirements @@ -135,7 +133,7 @@ setuptools_setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Development Status :: 4 - Beta", - # "Development Status :: 5 - Production/Stable", + # "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)", "Topic :: Software Development :: Code Generators", -- cgit v1.2.3