Re: Automatic and internal Pip package management system

[email protected]
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
Hey, how are you Thomas Kluyver?


demo

# --------------------
start-modules:

- pip installation example1
- pip installs example2

final modules:

# ----------------------------

Small Grammar

1 - 'start-modules' means ':'
2- Symbol ':' means 'pip'
3- Symbol '-' is 'white space / breakline'
4- 'end-modules' is 'end pip install in outside :'



summary




# ------ Python, Head Install, Modules -----

# start pip

install name ....

# commandline 'install' + module name

# breakline is whitespace or newline too.

install ....

: # end pip install, command

#---- Python, End Head Install, Modules ---



How this




#-------- Summary, Grammar case A

inside ': white space a-zA-Z0-9 whitespace:' add # if add comentary


#------- End Summary, Grammar case A







#-------- Summary, Grammar case B


outside ': add #


#------- End Summary, Grammar case B





#-------- Summary, Grammar case C

Full model

inside ': blank space a-zA-Z0-9 blank space # comment:' add # comentary


#------- End Summary, Grammar case B




see now...  my idea


# ------------------------------------------------

:

install the name ....
install the name .....


:


import name
import name 2 ....

... ..
.. .....
.. ..
...

# ------------------------------------------------




Best of the package.json? ^^


So I'm thinking about this ...



How to solve?

Solution
I'll write this in Antl4!


Question 1 

What do you think of creating an internal extra grammar to call the pip.py file to work as a background in Python?


Note
I made your suggestions ... but I did not like the hack.




Regards,
Pedro Guilherme.
--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/archives/list/[email protected]/message/XAFSTI7VJQJ5FDVY55ZXIDMLW4MESEI6/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.