PyInvoice/setup.py

44 lines
1.4 KiB
Python
Raw Normal View History

2015-06-08 15:15:36 +00:00
#!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
2015-06-09 16:53:08 +00:00
2015-06-08 15:15:36 +00:00
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='PyInvoice',
version='0.1.0',
packages=['pyinvoice'],
include_package_data=True,
license='MIT License',
description='Invoice/Receipt generator',
long_description=README,
url='https://github.com/CiCiApp/PyInvoice',
author='zhangshine',
author_email='zhangshine0125@gmail.com',
install_requires=['reportlab'],
test_suite='tests',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)