kubauk / beancount-import-gmail

MIT License
2 stars 1 forks source link

Error at install #13

Open grostim opened 2 years ago

grostim commented 2 years ago

Hi!

I may have done something wrong, but here is what i get:

pip install https://github.com/kubauk/beancount-import-gmail.git
Collecting https://github.com/kubauk/beancount-import-gmail.git
  Downloading https://github.com/kubauk/beancount-import-gmail.git
     - 211 kB 3.9 MB/s
  ERROR: Cannot unpack file /tmp/pip-unpack-qvxd2v86/beancount-import-gmail.git (downloaded from /tmp/pip-req-build-beq465wh, content-type: text/html; charset=utf-8); cannot detect archive format
ERROR: Cannot determine archive format of /tmp/pip-req-build-beq465wh

Any idea ?

kubauk commented 2 years ago

Yes, I think this is because I don't have not created a setup.py and a setup.cfg.

TBH, the way I run this importer at the moment is by adding my local source direction into the PYTHON_PATH of beangulp.

So the solution to this is to properly package this and ideally push it up to PyPi.

My slight hesitation to complete this now, is that neither beangulp nor beancount v3 have a package on PyPi so it's hard to set up deterministic dependencies.

kubauk commented 2 years ago

I've updated the readme to reflect the correct command.

Please try pip install git+https://github.com/kubauk/beancount-import-gmail