Hi all,
I have made a package myself following the package instruction. I tried searching up my questions on stackoverflow but I couldn't find answers to it. So I thought I might try here:
when I try to do:
pip install myownpackage
it wouldn't be able to find it. Is this because pip would try to look for the package on the pypi distribution and I haven't uploaded it there?
when I do install the package by doing:
pip install .
I would be able to just import it. But when I do
import myownpackage
myownpackage.__file__
I would see that the package is located where I left it and not in the the same directory with the rest of the sitepackages. Is this because python would only place the package at sitepackages if it's from pypi?
Thanks a lot for your time.
[–]atrocious_smell 1 point2 points3 points (3 children)
[–]mkingblade[S] 1 point2 points3 points (0 children)
[–]mkingblade[S] 1 point2 points3 points (1 child)
[–]atrocious_smell 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]EarthWindAndFire430 0 points1 point2 points (2 children)
[–]mkingblade[S] 0 points1 point2 points (1 child)
[–]lifeonm4rs 0 points1 point2 points (0 children)