Correct preparator to preparer
This commit is contained in:
1 parent
31b5c6620b
commit
8a306f0e33
2 files changed
+4
-4
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
# Linux Python Preparator
|
# Linux Python Preparer
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
@@ -12,4 +12,4 @@ They are findable via <code>lpp -h</code>.
|
|||||||
|
|
||||||
Install pyinstaller via pip.<br>
|
Install pyinstaller via pip.<br>
|
||||||
<span style='font-size: 0.75em; color: grey;'>Recommend: Use virtual environments to avoid global installs</span><br>
|
<span style='font-size: 0.75em; color: grey;'>Recommend: Use virtual environments to avoid global installs</span><br>
|
||||||
Use <code>pyinstaller -DF lpp.py</code>
|
Use <code>pyinstaller -DF lpp.py</code>
|
||||||
@@ -4,7 +4,7 @@ import os
|
|||||||
import sys
|
import sys
|
||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
parser = argparse.ArgumentParser(description="A python project preparator for Linux")
|
parser = argparse.ArgumentParser(description="A python project preparer for Linux")
|
||||||
|
|
||||||
parser.add_argument('-n','--name',default='NewProject',help='The project name')
|
parser.add_argument('-n','--name',default='NewProject',help='The project name')
|
||||||
parser.add_argument('-p','--path',default=False,help='The path to create the project in')
|
parser.add_argument('-p','--path',default=False,help='The path to create the project in')
|
||||||
@@ -40,4 +40,4 @@ file.touch(mode=0o750)
|
|||||||
|
|
||||||
os.chdir(path.absolute())
|
os.chdir(path.absolute())
|
||||||
if args.git :
|
if args.git :
|
||||||
subprocess.run(['git','init'])
|
subprocess.run(['git','init'])
|
||||||
Reference in new issue
Block a user