1. Jason R. Coombs
  2. distutils2


Tarek Ziadé  committed 87afa2e

added a create action

  • Participants
  • Parent commits 3a2f1a4
  • Branches default

Comments (0)

Files changed (1)

File distutils2/run.py

View file
  • Ignore whitespace
     return 0
+def _create(distpatcher, args, **kw):
+    from distutils2.mkcfg import main
+    main()
+    return 0
 actions = [('run', 'Run one or several commands', _run),
            ('metadata', 'Display the metadata of a project', _metadata),
            ('install', 'Install a project', _install),
            ('remove', 'Remove a project', _remove),
            ('search', 'Search for a project', _search),
-           ('graph', 'Display a graph', _graph),]
+           ('graph', 'Display a graph', _graph),
+           ('create', 'Create a Project', _create),]