File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11dist
22build
3- auspost .egg-info /
3+ auspostgen .egg-info /
44
Original file line number Diff line number Diff line change @@ -7,19 +7,19 @@ and Pillow is used to generate the barcode image. This is quite fast approx 1000
77
88### Installation
99``` bash
10- python -m pip install auspost
10+ python -m pip install auspostgen
1111```
1212
1313### Usage
1414####
1515``` python
16- from auspost import build_barcode, write_barcode_to_image_file
16+ from auspostgen import build_barcode, write_barcode_to_image_file
1717
1818barcode = build_barcode(' 11' , ' 59564391' )
1919write_barcode_to_image_file(barcode, ' ./my-barcode37.png' )
20- barcode = build_barcode(' 59' , ' 59564391' , ' 11ABA 9 ' )
20+ barcode = build_barcode(' 59' , ' 59564391' , ' 11ABA' )
2121write_barcode_to_image_file(barcode, ' ./my-barcode52.png' )
22- barcode = build_barcode(' 62' , ' 59564391' , ' 11ABA 911ABA 9 ' )
22+ barcode = build_barcode(' 62' , ' 59564391' , ' 11ABA11ABA ' )
2323write_barcode_to_image_file(barcode, ' ./my-barcode67.png' )
2424
2525```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 77driver = None
88if system == 'Linux' :
99 if arch == '64bit' :
10- driver = 'auspost /auspost.so'
10+ driver = 'auspostgen /auspost.so'
1111if driver is None :
1212 raise OSError ('Could not find the binary file for the current platform.' )
1313
1414with open ("README.md" , "r" ) as fh :
1515 long_description = fh .read ()
1616
1717setuptools .setup (
18- name = "auspost " ,
18+ name = "auspostgen " ,
1919 version = "0.0.1" ,
2020 author = "Damian Dennis" ,
2121 author_email = "damiandennis@gmail.com" ,
2525 url = "https://github.com/damiandennis/auspost" ,
2626 packages = setuptools .find_packages (),
2727 include_package_data = True ,
28- classifiers = [
29- "Programming Language :: Python :: 3" ,
30- "License :: OSI Approved :: MIT License" ,
31- "Operating System :: Linux Only" ,
32- ],
3328 install_requires = [
3429 'pillow>=7.1.2,<7.2.0' ,
3530 'click>=7.1.2,<7.2.0'
3833 python_requires = '>=3.6' ,
3934 entry_points = """
4035 [console_scripts]
41- auspost -image=auspost :write_image
36+ auspostgen -image=auspostgen :write_image
4237 """
4338)
You can’t perform that action at this time.
0 commit comments