Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skitazaki/python-clitool
Command Line Tool Utilities
https://github.com/skitazaki/python-clitool
Last synced: 3 months ago
JSON representation
Command Line Tool Utilities
- Host: GitHub
- URL: https://github.com/skitazaki/python-clitool
- Owner: skitazaki
- License: apache-2.0
- Archived: true
- Created: 2013-09-21T06:15:17.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-12T22:12:46.000Z (over 10 years ago)
- Last Synced: 2024-07-26T18:00:55.477Z (4 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/clitool/
- Size: 508 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
==================================
Command Line Tool Utilities
==================================[master]
.. image:: https://secure.travis-ci.org/skitazaki/python-clitool.png?branch=master
:target: https://secure.travis-ci.org/skitazaki/python-clitool[develop]
.. image:: https://secure.travis-ci.org/skitazaki/python-clitool.png?branch=develop
:target: https://secure.travis-ci.org/skitazaki/python-clitoolPrerequisites
=============* Python 2.7
* virtualenv + pipor
* Python 3.4
Development Setup
==================Python 2.7
----------Create working directoty and activate it.
::
$ virtualenv --distribute ~/.pyvenv/python-clitool-py27
$ source ~/.pyvenv/python-clitool-py27/bin/activateInstall build tool, ``waf``.
::
$ ln -s `pwd`/etc/waf-1.7.16 ~/.pyvenv/python-clitool-py27/bin/waf
Install dependant libraries.
::
$ pip install -r requirements.txt
$ pip install -r dev-requirements.txt
$ pip install pyflakesPython 3.4
----------Create working directoty and activate it.
::
$ pyvenv ~/.pyvenv/python-clitool-py34
$ source ~/.pyvenv/python-clitool-py34/bin/activateInstall build tool, ``waf``.
::
$ ln -s `pwd`/etc/waf-1.7.16 ~/.pyvenv/python-clitool-py34/bin/waf
Install dependant libraries.
::
$ pip install -r requirements.txt
$ pip install -r dev-requirements.txtCheck installation
------------------Check required tools are successfully installed.
::
$ waf configure
Build & Release
===============``cleanbuild`` target includes ``distclean``, ``configure``, ``build``, and ``example``.
::
$ waf cleanbuild
To relase on PyPI, use ``release`` target.
Don't forget to check test result on travis-ci.::
$ waf release
And, forget to upload generated ZIP file of documents on PyPI manually.
Project layout
==============* *clitool* : Main source code go here.
* *doc* : Specification or API documentations.
* *etc* : Support files
* *tests* : Test code go here.Copyright and license
======================Copyright 2014 Shigeru Kitazaki
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.