-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (39 loc) · 1.47 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
import os
from setuptools import setup
import pathlib
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def version():
p = pathlib.Path(__file__).parent.joinpath("cam_server_client").joinpath("package_version.txt")
with open(p, "r") as f1:
return f1.read()
print (version())
setup(name="cam_server",
version=version(),
maintainer="Paul Scherrer Institute",
maintainer_email="[email protected]",
author="Paul Scherrer Institute",
author_email="[email protected]",
description="BSREAD image processing pipeline and EPICS cameras converter.",
license="GPL3",
packages=['cam_server',
"cam_server.camera",
"cam_server.camera.rest_api",
"cam_server.camera.source",
"cam_server.instance_management",
"cam_server.pipeline",
"cam_server.pipeline.data_processing",
"cam_server.pipeline.rest_api",
"cam_server.pipeline.types",
"cam_server_client"
],
package_data={
# If any package contains *.html, include them:
'': ['*.html', '*.js',],
},
# long_description=read('Readme.md'),
)