Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PyPI package and files
#4
Smile 
(Oct-22-2021, 08:49 PM)Axel_Erfurt Wrote: mypackage
(Oct-22-2021, 10:51 PM)snippsat Wrote: Look at Entry Points
The answer was to type info python
This gives the syntax as python3 -m mymodules.myapp datafile.dat
Which will
  • Run the package rather than attempting to find a program in the current directory.
  • Find the datafile in the current directory.
Gribouillis likes this post
Reply


Messages In This Thread
PyPI package and files - by ChrisOfBristol - Oct-22-2021, 07:58 PM
RE: PyPI package and files - by Axel_Erfurt - Oct-22-2021, 08:49 PM
RE: PyPI package and files - by snippsat - Oct-22-2021, 10:51 PM
RE: PyPI package and files - by ChrisOfBristol - Oct-23-2021, 04:44 PM
RE: PyPI package and files - by snippsat - Oct-23-2021, 09:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Including data files in a package ChrisOfBristol 4 2,639 Oct-27-2021, 04:14 PM
Last Post: ChrisOfBristol
  fileinput package appears to be zeroing files rexrf 0 1,509 Jul-01-2020, 06:05 PM
Last Post: rexrf
  Updating a package published on PyPI marqrdt 1 2,468 Jan-02-2018, 02:03 AM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020