PyJudge icon indicating copy to clipboard operation
PyJudge copied to clipboard

Pip installable project

Open theSage21 opened this issue 6 years ago • 11 comments

It would be nice to be able to pip install this project.

theSage21 avatar Apr 11 '19 10:04 theSage21

isn't this one a gfi?

rishabhKalakoti avatar Apr 11 '19 18:04 rishabhKalakoti

I'm not sure. If someone reads the docs it could be a GFI but people attempting this don't usually read the docs so it might need some hand holding

theSage21 avatar Apr 12 '19 04:04 theSage21

I want to work on it. also, let me know what exactly we are looking for. just doing pip install?

shivankgtm avatar Apr 14 '19 04:04 shivankgtm

Yes. This project needs to be pip installable completely. That's all.

theSage21 avatar Apr 14 '19 06:04 theSage21

https://pypi.org/project/Pjudge/

  • couldn't take PyJudge as it was already in use.
  • only metafiles that were created with wheel are downloading.

any points that i missed or i keep doing it on my own.

shivankgtm avatar Apr 17 '19 09:04 shivankgtm

umm, that name conflicts too much with PyJudge. Maybe call it something like hukum/maharaj . Something rajasthani and about judging

about the setup, I recollect needing to specify where the HTML etc was in the setup file. Take a look at at the project

I can't seem to find the relevant docs. maybe there's a better way of doing this now?

theSage21 avatar Apr 17 '19 09:04 theSage21

Is this one done? The project does install on pip install Pjudge, I just don't know how to use it with pip though.

rishabhKalakoti avatar May 11 '19 00:05 rishabhKalakoti

nope. A few things need to be done for this to be finished:

  • [x] pip install
  • [ ] pip install should supply the html files as well
  • [ ] project is runnable via python -m <project>

theSage21 avatar May 11 '19 02:05 theSage21

@Shivank98 plz take this one when you are done with exams :) The project has been registered with your account for pip.

rishabhKalakoti avatar May 16 '19 07:05 rishabhKalakoti

I need some help with it. I got the point that we need to mention the extra files like HTML ins setup. I haven't look too deeply but poetry seems to do that work for us( let me know if better ways are available ). what I need help in how we can run the project with python -m <project>. I can think of writing some scripts but that doesn't seems to be right way. @theSage21 how you managed this in openjudge?

shivankgtm avatar Jan 26 '20 15:01 shivankgtm

  1. Poetry is awesome!
  2. I usually write a __main__.py file which gets called when we do python -m project.

Could you please open a PR for what you've already done? That way we can have more productive discussions.

theSage21 avatar Jan 26 '20 16:01 theSage21