summaryrefslogtreecommitdiff
path: root/setup.py
blob: 9c6eed47fb61892347323b577613c2cb0e938dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import codecs

from setuptools import setup


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.10.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,
    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 :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
    ],
    python_requires=">=3.6",
    install_requires=["setuptools"],
    extras_require={
        "numpy": ["numpy >= 1.14"],
        "uncertainties": ["uncertainties >= 3.0"],
    },
)