-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from jacebrowning/feature/embed-version
Embed version and copywrite
- Loading branch information
Showing
9 changed files
with
80 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# Revision History | ||
|
||
## 0.2 (unreleased) | ||
|
||
- Added `--version` command. | ||
|
||
## 0.1 (2016/10/17) | ||
|
||
- Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Configuration Filenames | ||
|
||
Any of the following can be used as the `verchew` configuration filename: | ||
|
||
* `.verchew` | ||
* `.verchewrc` | ||
* `verchew.ini` | ||
* `.verchew.ini` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Standalone Script | ||
|
||
Normally, `verchew` is installed using `pip`, but given the variety of environments in which this program is run, you might be in a situation where `pip`: | ||
|
||
* is not installed | ||
* does not have the correct permissions to install `verchew` | ||
* does not have network access to PyPI | ||
|
||
For this reason, `verchew` can also be embedded into your project as a standalone Python script. | ||
|
||
## Building | ||
|
||
After cloning this repository, build the script for distribution: | ||
|
||
``` | ||
$ make dist | ||
``` | ||
|
||
## Copying | ||
|
||
In your project: | ||
|
||
1. Create a `bin/` directory: `$ mkdir -p bin` | ||
2. Copy the script: `$ cp ../verchew/dist/verchew bin/verchew` | ||
3. Ensure the script is executable: `$ chmod a+x bin/verchew` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
"""Package for verchew.""" | ||
|
||
__project__ = 'verchew' | ||
__version__ = '0.1' | ||
|
||
VERSION = "{0} v{1}".format(__project__, __version__) | ||
from .script import __version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters