Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip installable project #110

Open
theSage21 opened this issue Apr 11, 2019 · 11 comments
Open

Pip installable project #110

theSage21 opened this issue Apr 11, 2019 · 11 comments

Comments

@theSage21
Copy link
Member

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

@rishabhKalakoti
Copy link
Contributor

isn't this one a gfi?

@theSage21
Copy link
Member Author

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
Copy link
Contributor

shivankgtm commented Apr 14, 2019

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

@theSage21
Copy link
Member Author

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

@shivankgtm
Copy link
Contributor

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.

@theSage21
Copy link
Member Author

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
Copy link
Contributor

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
Copy link
Member Author

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

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

@rishabhKalakoti
Copy link
Contributor

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

@shivankgtm
Copy link
Contributor

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
Copy link
Member Author

  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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants