PyJaipur / PyJudge

Simple Programming Contest hosting software
MIT License
17 stars 29 forks source link

Pip installable project #110

Open theSage21 opened 5 years ago

theSage21 commented 5 years ago

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

rishabhKalakoti commented 5 years ago

isn't this one a gfi?

theSage21 commented 5 years ago

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

shivankgtm commented 5 years ago

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

theSage21 commented 5 years ago

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

shivankgtm commented 5 years ago

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

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

theSage21 commented 5 years ago

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?

rishabhKalakoti commented 5 years ago

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

theSage21 commented 5 years ago

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

rishabhKalakoti commented 5 years ago

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

shivankgtm commented 4 years ago

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?

theSage21 commented 4 years ago
  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.