-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
36 lines (32 loc) · 1.1 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
import re
from setuptools import setup, find_packages
def extract_version():
return re.search(
r'__version__ = "([\d.d\-]+)"',
open('src/lumo/__init__.py', 'r', encoding='utf-8').read()).group(1)
if __name__ == '__main__':
setup(
name='lumo',
version=extract_version(),
description='library to manage your pytorch experiments.',
long_description_content_type='text/markdown',
url='https://github.com/lumo-tech/lumo',
author='sailist',
author_email='[email protected]',
license_files=('LICENSE',),
include_package_data=True,
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
package_dir={"": "src"},
keywords='lumo',
packages=find_packages('src'),
entry_points={
'console_scripts': [
'lumo = lumo.cli:main',
]
},
)