-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
35 lines (32 loc) · 1.24 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
from setuptools import setup, find_packages
from setuptools.command.install import install
from os import makedirs
import pickle
import pathlib
import os
class PostInstallCommand(install):
def run(self):
install.run(self)
print('aaaaa')
os.system('git clone https://gitlab.cern.ch/acc-models/fcc/fcc-ee-lattice.git')
print('bbbbb')
setup(
name='fcc_ee_pywit_model',
version='0.1.0',
packages=['fcc_ee_pywit_model'],
url='https://github.com/ImpedanCEI/fcc_ee_pywit_model',
license='MIT',
author='Lorenzo Giacomel, Dora Gibellieri, Carlo Zannini',
author_email='lorenzo.giacomel@cern.ch, dora.gibellieri@cern.ch, carlo.zannini@cern.ch',
description='Impedance model of the FCC-ee',
cmdclass={'install': PostInstallCommand},
include_package_data=True,
package_data={'lhc_pywit_model': ['data/*',
'data/resonators/*',
'data/broadband_resonators/*',
'data/elliptic_elements/*',
'data/machine_layouts/*',
'data/collimators/*',
]},
install_requires = ["numpy", "scipy", "matplotlib","cpymad"]
)