-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
67 lines (53 loc) · 2.22 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# coding: utf-8
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
from io import open
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.
gh_repo = 'https://github.com/weaming/thunder-subtitle'
setup(
name='thunder-subtitle', # Required
version='0.1.2', # Required
# This is a one-line description or tagline of what your project does.
description='下载迅雷看看字幕', # Required
url=gh_repo, # Optional
author='weaming', # Optional
author_email='[email protected]', # Optional
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
# This field adds keywords for your project which will appear on the
# project page. What does your project relate to?
#
# Note that this is a string of words separated by whitespace, not a list.
keywords='', # Optional
# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
install_requires=[
'drawtable @ git+https://github.com/weaming/drawtable.git',
], # Optional
# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={ # Optional
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
#
# For example, the following would provide a command called `sample` which
# executes the function `main` from this package when invoked:
entry_points={ # Optional
'console_scripts': [
'thunder-subtitle=thunder_subtitle.search:main',
],
},
project_urls={ # Optional
'Bug Reports': gh_repo,
'Source': gh_repo,
},
)