-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
45 lines (40 loc) · 1.46 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
import runpy
from pathlib import Path
from setuptools import find_packages, setup
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
]
name = 'thunder'
root = Path(__file__).resolve().parent
with open(root / 'requirements.txt', encoding='utf-8') as file:
requirements = file.read().splitlines()
with open(root / 'README.md', encoding='utf-8') as file:
long_description = file.read()
version = runpy.run_path(root / name / '__version__.py')['__version__']
setup(
name=name,
packages=find_packages(include=(name,)),
author='NeuroML Group',
author_email='[email protected]',
include_package_data=True,
version=version,
description='A small experiments runner for Pytorch Lightning',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/neuro-ml/thunder',
download_url='https://github.com/neuro-ml/thunder/archive/v%s.tar.gz' % version,
keywords=['deep learning', 'experiments'],
entry_points={
'console_scripts': ['thunder = thunder.cli:main'],
},
classifiers=classifiers,
install_requires=requirements,
python_requires='>=3.8',
)