Skip to content

Commit ca7a5c3

Browse files
author
root
committed
renamed to auspostgen
1 parent 5e29b9e commit ca7a5c3

7 files changed

Lines changed: 8 additions & 13 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
dist
22
build
3-
auspost.egg-info/
3+
auspostgen.egg-info/
44

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

1818
barcode = build_barcode('11', '59564391')
1919
write_barcode_to_image_file(barcode, './my-barcode37.png')
20-
barcode = build_barcode('59', '59564391', '11ABA 9')
20+
barcode = build_barcode('59', '59564391', '11ABA')
2121
write_barcode_to_image_file(barcode, './my-barcode52.png')
22-
barcode = build_barcode('62', '59564391', '11ABA 911ABA 9')
22+
barcode = build_barcode('62', '59564391', '11ABA11ABA')
2323
write_barcode_to_image_file(barcode, './my-barcode67.png')
2424

2525
```
File renamed without changes.
File renamed without changes.

setup.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
driver = None
88
if system == 'Linux':
99
if arch == '64bit':
10-
driver = 'auspost/auspost.so'
10+
driver = 'auspostgen/auspost.so'
1111
if driver is None:
1212
raise OSError('Could not find the binary file for the current platform.')
1313

1414
with open("README.md", "r") as fh:
1515
long_description = fh.read()
1616

1717
setuptools.setup(
18-
name="auspost",
18+
name="auspostgen",
1919
version="0.0.1",
2020
author="Damian Dennis",
2121
author_email="damiandennis@gmail.com",
@@ -25,11 +25,6 @@
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'
@@ -38,6 +33,6 @@
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
)

0 commit comments

Comments
 (0)