-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (25 loc) · 833 Bytes
/
setup.py
File metadata and controls
28 lines (25 loc) · 833 Bytes
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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import os
from distutils.core import setup, Extension
name = 'headache'
version = '1.1.1'
description = \
'HEADACHE: High Efficiency Astronomical Data Analysis with Chic Elegance'
package_dir = {name:'src'}
packages = os.listdir(package_dir[name])
packages = [name+'.'+p for p in packages if os.path.isdir(package_dir[name]+'/'+p)]
packages.insert(0, name)
setup(name = name,
version = version,
description = description,
author = 'Jun LIU',
author_email = 'jliu@mpifr-bonn.mpg.de',
url = 'https://www.github.com/jliu-radio/headache',
packages = packages,
package_dir = package_dir,
# package_data = {'package' : files },
# scripts = ["runner"],
long_description = open('README.md').read(),
long_description_content_type = 'text/markdown'
)