-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (28 loc) · 804 Bytes
/
setup.py
File metadata and controls
32 lines (28 loc) · 804 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
29
30
31
32
import sys
import numpy
from setuptools import setup
from distutils.extension import Extension
# Build on WIN using MinGW:
# python setup.py build --compiler=mingw32
# Copy calculations.pyd to mspy directory
# Build on Mac:
# python setup.py build
# Copy calculations.so to mspy directory
# make setup
setup(
name='mspy',
version='1.1.1',
author="Martin Strohalm",
maintainer='Witold Wolski',
author_email="wewolski@gmail.com",
ext_modules=[
Extension('mspy.calculations', ['mspy/calculations.c'],)
],
packages=["mspy"],
include_package_data=True,
include_dirs=[numpy.get_include()],
description = 'fork of the mMass library mspy http://www.mmass.org/',
url='https://github.com/wolski/mspy',
install_requires=["numpy"],
license="GPL"
)