Giter VIP home page Giter VIP logo

poetry-setup's People

Contributors

orsinium avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

poetry-setup's Issues

requirements.txt.j2 not found

Error message:

FileNotFoundError: (venv)/lib/python3.7/site-packages/poetry_setup/templates/requirements.txt.j2

when looking into my virtual environment, I find requirements.txt.j2 at

(venv)/poetry_setup/templates/requirements.txt.j2

poetry-setup==0.3.5 broken on PyPI

None of the templates seems to be included in the package.

Traceback (most recent call last):
  File "/home/user/venv/bin/poetry-setup", line 9, in <module>
    load_entry_point('poetry-setup==0.3.5', 'console_scripts', 'poetry-setup')()
  File "/home/user/venv/lib/python3.6/site-packages/poetry_setup/core.py", line 111, in main
    PoetrySetup(*argv).sync()
  File "/home/user/venv/lib/python3.6/site-packages/poetry_setup/core.py", line 92, in sync
    document = self.get_requirements(optional=False)
  File "/home/user/venv/lib/python3.6/site-packages/poetry_setup/core.py", line 56, in get_requirements
    with self.requirements_path.open(encoding='utf-8') as f:
  File "/usr/lib/python3.6/pathlib.py", line 1183, in open
    opener=self._opener)
  File "/usr/lib/python3.6/pathlib.py", line 1037, in _opener
    return self._accessor.open(self, flags, mode)
  File "/usr/lib/python3.6/pathlib.py", line 387, in wrapped
    return strfunc(str(pathobj), *args)
FileNotFoundError: [Errno 2] No such file or directory: '/home/user/venv/lib/python3.6/site-packages/poetry_setup/templates/requirements.txt.j2'

Custom templates

While the included templates are alright, some (private) projects have different/unique requirements on the structure of those files. It would be great if it would be possible to supply a custom template path and thus use custom templates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.