forked from scikit-rf/scikit-rf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (53 loc) · 1.32 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/usr/bin/env python
from setuptools import setup, find_packages
from distutils.core import Extension
with open('skrf/__init__.py') as fid:
for line in fid:
if line.startswith('__version__'):
VERSION = line.strip().split()[-1][1:-1]
break
LONG_DESCRIPTION = """
scikit-rf is an open source approach to RF/Microwave engineering implemented in the Python programming language.
"""
setup(name='scikit-rf',
version=VERSION,
license='new BSD',
description='Object Oriented Microwave Engineering',
long_description=LONG_DESCRIPTION,
author='Alex Arsenovic',
author_email='[email protected]',
url='http://www.scikit-rf.org',
packages=find_packages(),
install_requires = [
'numpy',
'scipy',
'matplotlib',
'pandas',
'networkx',
'xlwt',
'openpyxl',
],
extras_require={
'docs': [
'jupyter_client',
'python-ivi',
'pyvisa',
'ipython',
'ipykernel',
'ipywidgets',
],
'tests': [
'coverage',
'flake8',
'pytest',
'pytest-cov',
'nbval',
],
},
#ext_modules=[Extension('skrf.src.connect', ['skrf/src/connect.c', ], export_symbols=['innerconnect_s','connect_s'])],
package_dir={'skrf':'skrf'},
include_package_data = True,
#data_files = [("", ["LICENSE.txt"])],
#exclude_package_data = {'':'doc/*'},
#package_data = {'skrf':['*tests*']}
)