aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: 9f5d0b2adebbc67daa941f73eaa881ce74399a13 (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
#!/usr/bin/env python3
#
# References:
# [1] Python Packaging User Guide
#     https://packaging.python.org/
#

import os

from setuptools import setup, find_packages

import fg21sim as pkg


def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()


setup(
    name=pkg.__pkgname__,
    version=pkg.__version__,
    description=pkg.__description__,
    long_description=read("README.rst"),
    author=pkg.__author__,
    author_email=pkg.__author_email__,
    url=pkg.__url__,
    license=pkg.__license__,
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Environment :: Console",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Scientific/Engineering :: Astronomy",
    ],
    packages=find_packages(exclude=["docs", "tests"]),
    scripts=[
        "bin/healpix2hpx",
        "bin/hpx2healpix",
    ],
    install_requires=[
        "numpy",
        "astropy",
        "healpy",
    ],
    tests_require=["pytest"],
)