/
setup.py
58 lines (55 loc) · 1.53 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
# coding=utf-8
import os
from setuptools import setup
from sys import version_info
if version_info.major != 3 or version_info.minor < 5:
raise RuntimeError('friction requires python 3.5 or newer')
setup(
name='friction',
version='1.0.0',
description=(
'a browser-based gallery viewer tailored for viewing large '
'collections of pornographic manga'
),
long_description=(
'please visit the homepage: https://github.com/tinruufu/friction'
),
long_description_content_type='text/markdown',
url='https://github.com/tinruufu/friction',
author='ティン・ルーフ',
author_email='tinruufu+pypi@gmail.com',
packages=['friction'],
scripts=[
os.path.join('scripts', 'friction'),
os.path.join('scripts', 'friction-ui'),
],
app=[
os.path.join('scripts', 'friction-ui'),
],
license='MIT',
platforms=['any'],
install_requires=[
'flask>=1.1,<1.2',
'pillow',
'python-magic',
'rarfile',
],
setup_requires=[
'py2app',
],
classifiers=[
'Intended Audience :: End Users/Desktop',
'Topic :: Multimedia :: Graphics :: Viewers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
],
include_package_data=True,
options={
'py2app': {
'iconfile': 'scripts/icon.icns',
'plist': {
'NSHumanReadableCopyright': '©2016 ティン・ルーフ',
},
}
},
)