-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
38 lines (33 loc) · 1.08 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
import setuptools
from pathlib import Path
from os import scandir
def scan_packages(path, prefix=None):
if prefix is None:
prefix = ''
for entry in scandir(path):
if entry.is_dir(follow_symlinks=False) and \
entry.name[0] != '.' and \
entry.name not in ['__pycache__']:
yield prefix+entry.name
yield from scan_packages(entry.path, prefix= prefix+entry.name+'.')
setuptools.setup(
name="litenn",
version="2020.11.100",
author="iperov",
author_email="[email protected]",
description="Lightweight machine learning library based on OpenCL 1.2",
install_requires=['numpy'],
include_package_data=True,
long_description="",
url="https://github.com/iperov/litenn",
packages=['litenn', *scan_packages('.')],
license = 'MIT',
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Environment :: GPU",
"Topic :: Scientific/Engineering",
],
python_requires='>=3.6',
)