-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (23 loc) · 797 Bytes
/
setup.py
File metadata and controls
28 lines (23 loc) · 797 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
# Inspiration: https://stackoverflow.com/a/24188094/793218
#
from setuptools import setup, find_packages, Extension
import subprocess
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
# compiles the C extensions
subprocess.call(['make', '-C', 'src'])
setup(
name='mickey',
version='0.2',
description='Assorted methods and classes to handle and visualize the output of the Pluto MHD code',
long_description=readme,
author='Rodrigo Nemmen',
author_email='rodrigo.nemmen@iag.usp.br',
url='https://bitbucket.org/nemmen/mickey',
license=license,
#ext_modules=[Extension('_fastregrid', ['fastregrid.c'])],
packages=find_packages(exclude=('tests', 'docs')),
#package_data={'mickey': ['_fastregrid.so']}
)