-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (43 loc) · 1.57 KB
/
setup.py
File metadata and controls
50 lines (43 loc) · 1.57 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
## Sets up the Mercury2 Hardware Manager
#
# This script uses distribute (fork of setuptools) to install the hardware manager, and its dependencies, on the system.
# Install setuptools if not installed
import distribute_setup
distribute_setup.use_setuptools()
# Import the required packages
from setuptools import setup, find_packages
import glob
# Call the setup function
setup(
# Project meta-data
name = "Mercury2HWM",
version = "1.0dev",
author = "Michigan Exploration Laboratory",
description = "The hardware manager component of the Mercury2 ground station administration system.",
keywords = "mercury2 hardware manager mxl michigan university of michigan",
url = "http://exploration.engin.umich.edu/",
# Specify which packages to include
packages = find_packages(),
# Specify the script entry locations
entry_points = {
'console_scripts': [
'mercury2_setup = hwm.core.initialization:initial_setup',
'mercury2 = hwm.core.initialization:initialize'
]
},
# Declare dependencies
install_requires = ['distribute',
'Twisted>=12.3.0',
'PyYAML>=3.10',
'pyOpenSSL>=0.13',
'doxypy>=0.4.2',
'jsonschema',
'mock',
'txws',
'pyephem'],
# Specify patterns for data files to include (will be copied to a user directory during installation)
data_files = [
('resources/ssl', glob.glob('resources/ssl/*')),
('resources/config', glob.glob('resources/config/*'))
],
)