-
Notifications
You must be signed in to change notification settings - Fork 59
/
setup.py
24 lines (20 loc) · 821 Bytes
/
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
#!/usr/bin/env python3
from setuptools import find_packages, setup
try: # for pip >= 10
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from pip.download import PipSession
lines = list(parse_requirements("requirements.txt", session=PipSession()))
install_requires = [str(l.req) for l in lines if l.original_link is None]
setup(
name='inclearn',
version='0.1',
description='An Incremental Learning library.',
author='Arthur Douillard',
url='https://github.com/arthurdouillard/incremental_learning.pytorch',
packages=find_packages(),
install_requires=install_requires,
entry_points={'console_scripts': ['inclearn = inclearn.__main__:main']},
)