-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (33 loc) · 908 Bytes
/
setup.py
File metadata and controls
39 lines (33 loc) · 908 Bytes
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
"""
Setup script
"""
import io
from setuptools import setup
def load_readme():
"""
Load content from README.md
"""
with io.open('README.md', 'rt', encoding='utf8') as fobj:
readme = fobj.read()
return readme
def load_requirements():
"""
Load content from requirements.txt
"""
with open('requirements.txt', encoding='utf-8') as fobj:
return fobj.read().splitlines()
setup(
name='cc-measure',
version='0.5.0',
packages=['tdxmeasure'],
package_data={
'': ['tdx_eventlogs', 'tdx_tdquote', 'tdx_rtmr', 'tdx_verify_rtmr']
},
include_package_data=True,
python_requires='>=3.6.8',
license='Apache License 2.0',
scripts=['tdx_eventlogs', 'tdx_tdquote', 'tdx_rtmr', 'tdx_verify_rtmr'],
long_description=load_readme(),
long_description_content_type='text/markdown',
install_requires=load_requirements()
)