inveniosoftware / inveniosoftware/invenio-cli

invenio-cli init creates empty pipfile on root directory (outside of instance)

Open
#232 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
14
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Package version (if known): 0.23.0

## Describe the bug
When creating a new instance with `invenio-cli init rdm` a Pipfile is created in the root directory, e.g.:

```
$ ls
Pipfile instance_name/
```

And the file contains nothing:

```
cat Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]

[requires]
python_version = "3.7"
```

The useful one is inside the instance folder...

## Steps to Reproduce
1. Install invenio-cli
2. Bootstrap an instance
3. Check the source folder after `invenio-cli init`

## Expected behavior

No useless Pipfile is created

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.