forked from ami-team/pyAMI-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·55 lines (43 loc) · 1.62 KB
/
setup.py
File metadata and controls
executable file
·55 lines (43 loc) · 1.62 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#############################################################################
# Author : Jerome ODIER, Jerome FULACHIER, Fabian LAMBERT, Solveig ALBRAND
#
# Email : jerome.odier@lpsc.in2p3.fr
# jerome.fulachier@lpsc.in2p3.fr
# fabian.lambert@lpsc.in2p3.fr
# solveig.albrand@lpsc.in2p3.fr
#
#############################################################################
import os, sys, pyAMI.config
#############################################################################
if __name__ == '__main__':
#####################################################################
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
#####################################################################
scripts = ['ami', 'ami.bat']
#####################################################################
setup(
name = 'pyAMI_core',
version = pyAMI.config.version,
author = pyAMI.config.author_names,
author_email = pyAMI.config.author_emails,
description = 'Python ATLAS Metadata Interface (pyAMI)',
url = 'http://ami.in2p3.fr/',
license = 'CeCILL-C',
packages = ['pyAMI'],
package_data = {'': ['README', 'CHANGELOG', '*.txt'], 'pyAMI': ['*.txt']},
scripts = scripts,
install_requires = ['argparseplus', 'tiny_xslt'],
platforms = 'any',
zip_safe = False
)
#####################################################################
if 'install' in sys.argv:
print(pyAMI.config.banner)
print(pyAMI.config.authors)
print('')
#############################################################################