hjacobs / python-clickclick Goto Github PK
View Code? Open in Web Editor NEWClick command line utilities
Home Page: https://pypi.python.org/pypi/clickclick
License: Other
Click command line utilities
Home Page: https://pypi.python.org/pypi/clickclick
License: Other
@rafaelcaricio apparently wants to have Python 2.7 support for Connexion (spec-first/connexion#284 (comment)).
Apparently the reStructuredText formatting in README.rst is too much for PyPI: https://pypi.python.org/pypi/clickclick
Everything seems to claim this library is Python3 only, eg: https://pypi.python.org/pypi/clickclick/1.2.1
Due to current pip/setuptools behavior packages listed in setup_requires are always downloaded from global pypi, regardless of index argument passed to pip install (please, see pypa/setuptools#209) for more details. This makes it impossible to install source distribution in environments without access to global pypi on python2.7.
setup.cfg
to the project with the following content:[bdist_wheel]
universal=1
This will result in release.sh producing py2py3 wheel (just like click project) and the wheel doesn't suffer from the setuptools bug mentioned above.
import sys
...
need = {'clean', 'flake8', 'test'}.intersection(sys.argv)
setup_requires = ['six', 'flake8'] if need else []
Thank you!
I might be missing other workaround, assuming the following:
with Action('Get stuff ...'):
print(yaml_stuff)
the output will look like:
Get stuff ...id: yaml-obj-id
key: value
OK
I suggest adding nl=False
to Action
, as in case it was True
it would always append a new line to the end of the action message. (this ofc instead of always calling print/secho new line in Action block)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.