aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
blob: a0ca71fe5833a1dc89a21c18602d0adff0c95929 (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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import re

from setuptools import setup, find_packages


with open('fg21sim/__init__.py') as f:
    version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
                        f.read(), re.MULTILINE).group(1)

with open('README.rst') as f:
    readme = f.read()

with open('LICENSE') as f:
    license = f.read()

setup(
    name='fg21sim',
    version=version,
    description='Realistic Foregrounds Simulation for EoR 21cm Signal Detection',
    long_description=readme,
    author='Weitian LI',
    author_email='liweitianux@live.com',
    url='https://github.com/liweitianux/fg21sim',
    license=license,
    packages=find_packages(exclude=('tests', 'docs'))
)