-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
49 lines (44 loc) · 1.42 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
from setuptools import setup, find_packages
import re
import os
from hermione._version import __version__
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
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('hermione/data')
setup(
name='hermione-ml',
version=__version__,
author='A3Data',
author_email='[email protected]',
url='https://github.com/A3Data/hermione',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Software Development'
],
keywords='machine learning mlops devops artificial intelligence',
license='Apache License 2.0',
install_requires=[
'Click',
'Jinja2'
],
entry_points='''
[console_scripts]
hermione=hermione.cli.main:cli
''',
python_requires='>=3.8.0',
package_data={'': extra_files},
)