-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add build and upload shell script Extend long package description to match README.rst Add changelog Bump version number
- Loading branch information
1 parent
c231d0b
commit 4b58a47
Showing
4 changed files
with
60 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Changelog | ||
|
||
All releases contain all previous releases' content, except for the noted new features, changes, deprecations, etc. | ||
|
||
## v0.2.2 | ||
|
||
- Change module structure, use: `from humps.camel import case` | ||
- Add CHANGELOG.md | ||
- Use Twine as setup tool | ||
- Add shell script to build and upload distribution | ||
- You may need to install and configure [Twine](https://github.com/pypa/twine), e.g. use its environment variables | ||
- Extend long package description to match README.rst | ||
|
||
## v0.1.0 | ||
|
||
- Support conversion of any string to camelCase | ||
- Raise error for non `str` type inputs | ||
- Ignore any non-alphanumeric 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 @@ | ||
include CHANGELOG.md |
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,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm -rf dist | ||
|
||
python setup.py clean check sdist bdist_wheel --universal | ||
|
||
gpg --detach-sign -a dist/*.whl | ||
gpg --detach-sign -a dist/*.tar.gz | ||
|
||
twine upload dist/* |
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 |
---|---|---|
|
@@ -3,22 +3,43 @@ | |
setup( | ||
name="humps", | ||
packages=["humps", "tests"], | ||
version="0.2.1", | ||
version="0.2.2", | ||
author="Erik Huizinga", | ||
author_email="[email protected]", | ||
license='LGPL-3.0', | ||
url="https://github.com/erikhuizinga/humps", | ||
description="camelCase converter", | ||
long_description= | ||
"*********\n" | ||
"``humps``\n" | ||
"*********\n" | ||
"\n" | ||
"*Convert any string to camelCase.*\n" | ||
"\n" | ||
"camelCase starts with a lower case alphabetic character, the rest of the string contains alphanumeric " | ||
"characters. Any character case in the input is ignored. Any spaces in the input capitalise the following " | ||
"character if alphabetic, except for the first character. Any non-alphanumeric characters are ignored.", | ||
"""********* | ||
``humps`` | ||
********* | ||
*Convert any string to camelCase.* | ||
Description | ||
=========== | ||
camelCase starts with a lower case alphabetic character, the rest of the string contains alphanumeric characters. Any character case in the input is ignored. Any spaces in the input capitalise the following character if alphabetic, except for the first character. Any non-alphanumeric characters are ignored. | ||
Installation | ||
============ | ||
Shell: | ||
.. code-block:: sh | ||
pip install humps | ||
Python: | ||
.. code-block:: python | ||
from humps.camel import case | ||
print(case('Hello, World!')) | ||
# Output: helloWorld | ||
""", | ||
keywords=["camelcase", 'camel', 'case', "string", "conversion"], | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
|