69 lines
1.9 KiB
Python
69 lines
1.9 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
try:
|
|
import sys
|
|
reload(sys).setdefaultencoding("UTF-8")
|
|
except:
|
|
pass
|
|
|
|
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
import codecs
|
|
|
|
|
|
def read(filename):
|
|
return codecs.open(filename, encoding='utf-8').read()
|
|
|
|
|
|
long_description = '\n\n'.join([read('README'),
|
|
read('AUTHORS'),
|
|
read('CHANGES')])
|
|
|
|
__doc__ = long_description
|
|
|
|
setup(
|
|
name='Pint',
|
|
version='0.6.dev0',
|
|
description='Physical quantities module',
|
|
long_description=long_description,
|
|
keywords='physical quantities unit conversion science',
|
|
author='Hernan E. Grecco',
|
|
author_email='hernan.grecco@gmail.com',
|
|
url='https://github.com/hgrecco/pint',
|
|
test_suite='pint.testsuite.testsuite',
|
|
zip_safe=True,
|
|
packages=['pint'],
|
|
package_data={
|
|
'pint': ['default_en.txt',
|
|
'constants_en.txt']
|
|
},
|
|
include_package_data=True,
|
|
entry_points={
|
|
'zest.releaser.releaser.after_checkout': [
|
|
'pyroma = pint:_run_pyroma',
|
|
],
|
|
},
|
|
license='BSD',
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Intended Audience :: Developers',
|
|
'Intended Audience :: Science/Research',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: MacOS :: MacOS X',
|
|
'Operating System :: Microsoft :: Windows',
|
|
'Operating System :: POSIX',
|
|
'Programming Language :: Python',
|
|
'Topic :: Scientific/Engineering',
|
|
'Topic :: Software Development :: Libraries',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3.0',
|
|
'Programming Language :: Python :: 3.1',
|
|
'Programming Language :: Python :: 3.2',
|
|
'Programming Language :: Python :: 3.3',
|
|
])
|