-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (42 loc) · 1.61 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
#!/usr/bin/env python
# pdrive - a web based document browser
# Copyright (C) 2017 Huy Nguyen
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()
setup(name='pdrive',
version='0.8.2',
description='A simple file manager',
long_description=long_description,
long_description_content_type='text/markdown',
author='Huy Nguyen',
author_email='121183+huyng@users.noreply.github.com',
packages=['pdrive', "pdrive.frontend", "pdrive.backend"],
package_data={
'pdrive.frontend': ['index.html', 'dist/assets/*', 'dist/*']
},
entry_points={
"console_scripts": [
"pdrive = pdrive.backend.web:main"
]
},
install_requires=["Flask", "gunicorn"],
zip_safe=False,
url="https://github.com/huyng/pdrive")
# to distribute run:
# python setup.py register sdist upload
# python -m twine upload dist