Skip to content

Instantly share code, notes, and snippets.

@herlo
Created March 27, 2020 04:04
Show Gist options
  • Save herlo/be735858d42749c97115464356ff4d43 to your computer and use it in GitHub Desktop.
Save herlo/be735858d42749c97115464356ff4d43 to your computer and use it in GitHub Desktop.
[herlo@t480s pkgs]$ ls
sma.exceptions sma.pb sma.rundeck sma.utils
[herlo@t480s pkgs]$ cd sma.pb/
[herlo@t480s sma.pb]$ cat pyproject.toml
[tool.poetry]
name = "sma.pb"
version = "0.1.0"
description = ""
authors = ["Clint Savage <myemail>"]
license = "proprietary"
packages = [
{ include = "sma" }
]
[tool.poetry.dependencies]
python = "^3.6"
pyyaml = "^5.3.1"
Jinja2 = "^2.11.1"
click = "^7.1.1"
"sma.exceptions" = {path = "../sma.exceptions"}
"sma.utils" = {path = "../sma.utils"}
"sma.rundeck" = {path = "../sma.rundeck"}
[tool.poetry.dev-dependencies]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
[herlo@t480s sma.pb]$ poetry install
Installing dependencies from lock file
No dependencies to install or update
- Installing sma.pb (0.1.0)
[EnvCommandError]
Command ['/tmp/smalibs/pkgs/sma.pb/.venv/bin/pip', 'install', '-e', '/tmp/smalibs/pkgs/sma.pb'] errored with the following return code 1, and output:
Obtaining file:///tmp/smalibs/pkgs/sma.pb
Complete output from command python setup.py egg_info:
running egg_info
writing sma.pb.egg-info/PKG-INFO
writing dependency_links to sma.pb.egg-info/dependency_links.txt
writing requirements to sma.pb.egg-info/requires.txt
writing top-level names to sma.pb.egg-info/top_level.txt
package init file 'sma/__init__.py' not found (or not a regular file)
error: package directory 'sma/eggs/appdirs-1/4/3-py3/7/egg' does not exist
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/smalibs/pkgs/sma.pb/
You are using pip version 19.0.3, however version 20.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment