forked from LANL-Seismoacoustics/e1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
33 lines (27 loc) · 1.03 KB
/
setup.py
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
e1: Python support for the e1 compression format.
"""
from setuptools import setup, Extension
# from numpy.distutils.core import setup, Extension
with open('README.md') as readme:
# https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi
long_description = readme.read()
doclines = __doc__.split("\n")
setup(name='e1',
version='0.1.2',
description='Python support for the e1 compression format.',
long_description=long_description,
long_description_content_type="text/markdown", # setuptools >= 38.6.0
author='Jonathan MacCarthy',
author_email='[email protected]',
url='https://github.com/LANL-seismoacoustics/e1',
download_url='https://github.com/LANL-seismoacoustics/e1/tarball/0.1.0',
keywords=['seismology', 'geophysics'],
install_requires=['numpy'],
py_modules=['e1'],
ext_modules=[Extension('_libe1', ['src/e_compression.c'])],
license='MIT',
platforms=['Mac OS X', 'Linux/Unix'],
)