-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (44 loc) · 1.47 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
50
51
52
from setuptools import setup, find_packages
def fetch_requirements(path):
with open(path, 'r') as fd:
return [r.strip() for r in fd.readlines()]
def fetch_readme():
with open('README.md', encoding='utf-8') as f:
return f.read()
def get_version():
with open('version.txt') as f:
return f.read().strip()
setup(
name='marker',
version=get_version(),
packages=find_packages(exclude=(
'build',
'docker',
'tests',
'docs',
'examples',
'*.egg-info',
)),
description=
'Marker is an automation tool to mark a list of movie/shows/series as watched in Douban (豆瓣). This tool is useful if you want to migrate your movie list from another app to Douban.',
long_description=fetch_readme(),
long_description_content_type='text/markdown',
license='Apache Software License 2.0',
url='https://github.com/hpcaitech/gh-whid',
project_urls={
'Github': 'https://github.com/FrankLeeeee/Marker',
},
install_requires=fetch_requirements('requirements.txt'),
python_requires='>=3.6',
entry_points='''
[console_scripts]
marker=marker.cli:cli
''',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Environment :: GPU :: NVIDIA CUDA',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: System :: Distributed Computing',
],
)