From 14cf9d0d10dd942884712c8d8ee9d29c1eb7e4a9 Mon Sep 17 00:00:00 2001 From: rad Date: Thu, 28 Apr 2016 02:09:27 -0400 Subject: [PATCH] Relase 1.0 created on pypi --- .gitignore | 6 +++++- LICENSE.rst | 2 +- MANIFEST.in | 2 +- README.md | 8 +++++--- fedex_invoice/__init__.py | 1 + setup.py | 11 +++++++---- 6 files changed, 20 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index c6d8543..23ca3df 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ *.pyc *.swp .DS_Store -.idea/ \ No newline at end of file +.idea/ + +dist +build + diff --git a/LICENSE.rst b/LICENSE.rst index 7a15404..657289d 100644 --- a/LICENSE.rst +++ b/LICENSE.rst @@ -1,4 +1,4 @@ -Copyright (c) 2015, Greg Taylor +Copyright (c) 2015, Radtek All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/MANIFEST.in b/MANIFEST.in index 9eca8a1..6455a5e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,4 @@ include LICENSE.rst -include README.rst +include README.md recursive-include examples *.txt *.py recursive-include docs * diff --git a/README.md b/README.md index cd8a15d..35d2199 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Fedex Commercial Invoice # +# Fedex Invoice # -Fedex Commercial Invoice Generation using Python (using reportlab) +* Fedex Commercial Invoice Generation using Python (using reportlab) ### What is this repository for? ### @@ -9,7 +9,9 @@ Fedex Commercial Invoice Generation using Python (using reportlab) ### How do I get set up? ### -* download repo, install requirements.txt using pip +* Using pip: `[sudo] pip install fedex-invoice` +* OR download repo, install `requirements.txt` using pip +* OR use `[sudo] python setup.py install` ### Usage ### diff --git a/fedex_invoice/__init__.py b/fedex_invoice/__init__.py index e69de29..9d725c4 100644 --- a/fedex_invoice/__init__.py +++ b/fedex_invoice/__init__.py @@ -0,0 +1 @@ +VERSION = __version__ = '1.0.1' diff --git a/setup.py b/setup.py index 392c08a..e65b53d 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,6 @@ from setuptools import setup, find_packages +import fedex_invoice CLASSIFIERS = [ 'Development Status :: 5 - Production/Stable', @@ -14,16 +15,18 @@ KEYWORDS = 'fedex commercial invoice generator using reportlab' setup( - name='FedexInvoice', - version='1.0', - author='Radzhome', + name='fedex-invoice', + version=fedex_invoice.__version__, + author='radzhome', author_email='radzhome@gmail.com', + maintainer='radzhome', packages=find_packages(), install_requires=['reportlab'], include_package_data=True, + download_url='TODO', url='https://github.com/radzhome/fedex-commercial-invoice/', license='BSD', - description='Fedex Commercial Invoice generator.', + description='Fedex Commercial Invoice generator, invoice templating using reportlab', long_description=open('README.md').read(), platforms=['Platform Independent'], classifiers=CLASSIFIERS,