Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Purge arguments/args code from clint #65

Open
jackric opened this issue Aug 8, 2012 · 9 comments
Open

Purge arguments/args code from clint #65

jackric opened this issue Aug 8, 2012 · 9 comments

Comments

@jackric
Copy link

jackric commented Aug 8, 2012

Following on from ab401e7 arguments/args has been partially pulled out of clint, but there are still references to it.

Since there is the separate module https://github.com/kennethreitz/args the use of clint.args should be deprecated (but still backwards compatible, for a period of time). A corollary of this is that the examples directory should no longer demonstrate the features of the args module (but it's fine to use it in the demonstration of other things, such as in examples/unicode.py

@kennethreitz
Copy link
Owner

The plan is to simply update the included version of args to be up to date.

@jackric
Copy link
Author

jackric commented Aug 8, 2012

clint now has a dependency on the args module declared in setup.py so why not encourage developers to just use args directly, rather than think of it as part of the clint package?

@kennethreitz
Copy link
Owner

clint is designed to be fully vendorable, and that breaks that.

@jackric
Copy link
Author

jackric commented Aug 8, 2012

What do you mean by vendorable?

@kennethreitz
Copy link
Owner

I mean that the entire package can be embedded into your application. This is useful for command line applications.

Kenneth Reitz

On Aug 8, 2012, at 12:43 PM, Jack Riches notifications@github.com wrote:

What do you mean by vendorable?


Reply to this email directly or view it on GitHub.

@jackric
Copy link
Author

jackric commented Aug 8, 2012

OK, so if I understood correctly, in the future the dependency on the args package in setup.py will be removed, and instead all the functionality from args will be included inline in the package clint.

Its your project, but I don't think duplicating code is a good idea (2 places to maintain it) - so are you planning to do it with a submodule or something?

@LuRsT
Copy link

LuRsT commented Mar 1, 2013

The answer, from kenneth: #85 (comment)

@jpiper
Copy link
Collaborator

jpiper commented Jan 9, 2014

@kennethreitz mentions he'd like to move over to docopt, but this would mean the package would no longer be vendorable - thoughts?

@techtonik
Copy link
Contributor

Ship docopt bundled with clint. Patch console scripts to use bundled version over installed one https://bitbucket.org/techtonik/locally/src/09f9f542795fabca1fc5706b44585cdb304a76d7/01.pure-nodeps.py?at=default

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants