-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
59 lines (50 loc) · 1.87 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
48
49
50
51
52
53
54
55
56
57
58
59
# Licensed under the MIT License
# https://github.com/grongierisc/iris_datapipe/blob/main/LICENSE
import os
from setuptools import setup
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('.', path, filename))
return paths
extra_files = package_files('src/python/')
def main():
# Read the readme for use as the long description
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)),
'README.md'), encoding='utf-8') as readme_file:
long_description = readme_file.read()
# Do the setup
setup(
name='iris_datapipe',
description='iris_datapipe',
long_description=long_description,
long_description_content_type='text/markdown',
version='0.0.2',
author='grongier',
author_email='guillaume.rongier@intersystems.com',
keywords='iris_datapipe',
url='https://github.com/grongierisc/iris-datapipe',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Utilities'
],
package_dir={'': 'src/python'},
packages=['DataPipe'],
python_requires='>=3.6',
install_requires=[
"iris-pex-embedded-python>=2.0.0"
]
)
if __name__ == '__main__':
main()