-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
71 additions
and
18 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
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,4 @@ | ||
pip | ||
setuptools | ||
twine | ||
wheel |
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,23 @@ | ||
Packaging | ||
========= | ||
|
||
https://packaging.python.org/tutorials/packaging-projects/ | ||
|
||
* Иногда для применения некоторых настроек билда нужно удалить старые папки билдов | ||
|
||
1. Create .pypirc | ||
C:\Users\v.kaukin\.pypirc | ||
https://docs.python.org/3/distutils/packageindex.html#pypirc | ||
|
||
2. Install/update build libs: | ||
C:\python\venv\pdf417as_str\Scripts\pip install --upgrade -r C:\kvk\develop\Python\pdf417as_str\_docs\build-requirements.txt | ||
|
||
3. Generating distribution archives | ||
cd C:\kvk\develop\Python\pdf417as_str\ | ||
C:\python\venv\pdf417as_str\Scripts\python.exe C:\kvk\develop\Python\pdf417as_str\setup.py sdist | ||
|
||
4. Check the distribution archives: | ||
C:\python\venv\pdf417as_str\Scripts\python.exe -m twine check dist/* | ||
|
||
5. Uploading the distribution archives: | ||
C:\python\venv\pdf417as_str\Scripts\python.exe -m 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
1.0.0 | ||
===== | ||
* encode fn renamed to encode417 | ||
|
||
0.4.1 | ||
===== | ||
* License changed to LGPL-3.0 | ||
* The license change is agreed with Bazin Jean-Marie. PDF417 font.ttf is re-created. | ||
|
||
0.2 | ||
===== | ||
* First stable version: 7 Oct 2017 |
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 +1 @@ | ||
from .main import encode | ||
from .main import encode417 |
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 was deleted.
Oops, something went wrong.
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,13 +1,18 @@ | ||
from distutils.core import setup | ||
|
||
with open("README.rst", "r", encoding='utf-8') as fh: | ||
long_description = fh.read() | ||
|
||
setup( | ||
name='pdf417as_str', | ||
version='0.4.1', | ||
name='pdf417as-str', | ||
version='1.0.0', | ||
packages=['pdf417as_str'], | ||
url='https://github.com/ikvk/pdf417as_str', | ||
license='LGPLv3', | ||
long_description=open("README.rst").read(), | ||
author='v.kaukin', | ||
author_email='[email protected]', | ||
description='Create pdf417 barcode without using images.', | ||
long_description=long_description, | ||
long_description_content_type="text/x-rst", | ||
author='Vladimir Kaukin', | ||
author_email='[email protected]', | ||
keywords=['pdf417', 'font', 'barcode', 'generate', 'noimage', 'python'], | ||
description='Create pdf417 barcode by special font without using images', | ||
) |
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