forked from vapoursynth/vsrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (45 loc) · 1.26 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
from setuptools import setup, find_packages
from os import path
import platform
modules = []
packages = [
"vsgenstubs", "vsgenstubs4"
]
requirements = []
entrypoints = [
"vsgenstubs=vsgenstubs:main",
"vsgenstubs4=vsgenstubs4:main",
]
if platform.platform().startswith("Windows"):
modules.extend(["vsrepo", "vsrupdate"])
entrypoints.extend([
"vsrepo=vsrepo:noop",
"vsrupdate=vsrupdate:noop"
])
requirements.append("tqdm")
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="vsrepo",
version="50",
description="A simple package repository for VapourSynth.",
long_description = long_description,
long_description_content_type = "text/markdown",
url="http://www.vapoursynth.com/",
author = "Myrsloik",
packages=packages,
py_modules = modules,
install_requires=requirements,
include_package_data=True,
package_data={
package: ["*.pyi"] for package in packages
},
entry_points = {
'console_scripts': entrypoints
},
project_urls={
"Issues": "https://github.com/vapoursynth/vsrepo/issues",
"Source": "https://github.com/vapoursynth/vsrepo"
}
)