-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (26 loc) · 869 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from setuptools.command.install import install as _install
import pyjmad
class install(_install):
def run(self):
print('registering with dependency manager')
import cmmnbuild_dep_manager
mgr = cmmnbuild_dep_manager.Manager()
mgr.install('pyjmad')
print('registered pyjmad with gradle_dep_manager')
_install.run(self)
setuptools.setup(
name='pyjmad',
version=pyjmad.__version__,
description='A Python wrapping of JMad',
author='Michi Hostettler',
author_email='michi.hostettler@cern.ch',
url='https://github.com/pymad/pyjmad',
packages=['pyjmad'],
install_requires=['JPype1>=0.6.1',
'cmmnbuild-dep-manager>=2.2.0',
'numpy', 'pandas'],
cmdclass={'install': install},
)