Skip to content

Commit 340915a

Browse files
committed
removed redundant dependencies from requirements.txt file
1 parent f16a032 commit 340915a

File tree

11 files changed

+26
-188
lines changed

11 files changed

+26
-188
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ This program was developed on Windows but can also run on Unix like operating sy
1919
# Usage:
2020
1. Clone repo
2121
2. open project folder in IDE of your choice
22-
3. run ```python main.py```
22+
3. install all dependencies via ```pip install -r requirements.txt```
23+
4. run ```python main.py```
2324

2425
# Screenshots:
2526
FTP Client starting screen after FTP login:

__pycache__/delete.cpython-36.pyc

2.67 KB
Binary file not shown.

__pycache__/draw.cpython-36.pyc

4.37 KB
Binary file not shown.
4.95 KB
Binary file not shown.

__pycache__/program.cpython-36.pyc

8.89 KB
Binary file not shown.
2.23 KB
Binary file not shown.

profile_pic.jpeg

3.57 KB
Loading

requirements.txt

Lines changed: 5 additions & 186 deletions
Original file line numberDiff line numberDiff line change
@@ -1,251 +1,70 @@
11
alabaster==0.7.12
2-
anaconda-client==1.7.2
3-
anaconda-navigator==1.10.0
4-
anaconda-project==0.8.3
52
argh==0.26.2
6-
argon2-cffi @ file:///C:/ci/argon2-cffi_1596828585465/work
73
asgiref==3.3.1
8-
asn1crypto @ file:///tmp/build/80754af9/asn1crypto_1596577642040/work
9-
astroid @ file:///C:/ci/astroid_1592487315634/work
104
astropy==4.0.2
115
async-generator==1.10
126
atomicwrites==1.4.0
13-
attrs @ file:///tmp/build/80754af9/attrs_1604765588209/work
14-
autopep8 @ file:///tmp/build/80754af9/autopep8_1596578164842/work
15-
Babel @ file:///tmp/build/80754af9/babel_1605108370292/work
167
backcall==0.2.0
178
backports.functools-lru-cache==1.6.1
189
backports.shutil-get-terminal-size==1.0.0
1910
backports.tempfile==1.0
2011
backports.weakref==1.0.post1
21-
bcrypt @ file:///C:/ci/bcrypt_1597936263757/work
22-
beautifulsoup4 @ file:///tmp/build/80754af9/beautifulsoup4_1601924105527/work
23-
bitarray @ file:///C:/ci/bitarray_1605065210072/work
2412
bkcharts==0.2
25-
bleach @ file:///tmp/build/80754af9/bleach_1600439572647/work
26-
bokeh @ file:///C:/ci/bokeh_1603297934731/work
2713
boto==2.49.0
28-
Bottleneck==1.3.2
2914
brotlipy==0.7.0
3015
certifi==2020.6.20
31-
cffi @ file:///C:/ci/cffi_1600699246375/work
3216
chardet==3.0.4
3317
click==7.1.2
34-
cloudpickle @ file:///tmp/build/80754af9/cloudpickle_1598884132938/work
35-
clyent==1.2.2
36-
colorama @ file:///tmp/build/80754af9/colorama_1603211150991/work
3718
comtypes==1.1.7
38-
conda==4.9.2
39-
conda-build==3.20.5
40-
conda-package-handling @ file:///C:/ci/conda-package-handling_1603003327818/work
41-
conda-verify==3.4.2
4219
contextlib2==0.6.0.post1
43-
cryptography @ file:///C:/ci/cryptography_1601046905460/work
4420
currencyconverter==0.15
4521
cycler==0.10.0
46-
Cython @ file:///C:/ci/cython_1594829190914/work
4722
cytoolz==0.11.0
48-
dask @ file:///tmp/build/80754af9/dask-core_1602083700509/work
4923
decorator==4.4.2
5024
defusedxml==0.6.0
51-
diff-match-patch @ file:///tmp/build/80754af9/diff-match-patch_1594828741838/work
52-
distributed @ file:///C:/ci/distributed_1605066635297/work
5325
Django==3.1.7
5426
docutils==0.16
55-
entrypoints==0.3
56-
et-xmlfile==1.0.1
57-
fastcache==1.1.0
58-
filelock==3.0.12
59-
flake8 @ file:///tmp/build/80754af9/flake8_1601911421857/work
6027
Flask==1.1.2
61-
fsspec @ file:///tmp/build/80754af9/fsspec_1602684995936/work
6228
ftputil==5.0.1
6329
future==0.18.2
64-
gevent @ file:///C:/ci/gevent_1601397627942/work
6530
glob2==0.7
66-
greenlet @ file:///C:/ci/greenlet_1600885448389/work
6731
h5py==2.10.0
6832
HeapDict==1.0.1
69-
html5lib @ file:///tmp/build/80754af9/html5lib_1593446221756/work
70-
idna @ file:///tmp/build/80754af9/idna_1593446292537/work
71-
imageio @ file:///tmp/build/80754af9/imageio_1594161405741/work
7233
imagesize==1.2.0
73-
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1602276842396/work
74-
iniconfig @ file:///tmp/build/80754af9/iniconfig_1602780191262/work
75-
intervaltree @ file:///tmp/build/80754af9/intervaltree_1598376443606/work
76-
ipykernel @ file:///C:/ci/ipykernel_1596190155316/work/dist/ipykernel-5.3.4-py3-none-any.whl
77-
ipython @ file:///C:/ci/ipython_1604083276484/work
7834
ipython-genutils==0.2.0
79-
ipywidgets @ file:///tmp/build/80754af9/ipywidgets_1601490159889/work
80-
isort @ file:///tmp/build/80754af9/isort_1602603989581/work
8135
itsdangerous==1.1.0
8236
jdcal==1.4.1
83-
jedi @ file:///C:/ci/jedi_1592833825077/work
8437
Jinja2==2.11.2
85-
joblib @ file:///tmp/build/80754af9/joblib_1601912903842/work
8638
json5==0.9.5
87-
jsonschema @ file:///tmp/build/80754af9/jsonschema_1602607155483/work
8839
jupyter==1.0.0
89-
jupyter-client @ file:///tmp/build/80754af9/jupyter_client_1601311786391/work
90-
jupyter-console @ file:///tmp/build/80754af9/jupyter_console_1598884538475/work
9140
jupyter-core==4.6.3
9241
jupyterlab==2.2.6
93-
jupyterlab-pygments @ file:///tmp/build/80754af9/jupyterlab_pygments_1601490720602/work
94-
jupyterlab-server @ file:///tmp/build/80754af9/jupyterlab_server_1594164409481/work
95-
keyring @ file:///C:/ci/keyring_1601489747083/work
96-
kiwisolver @ file:///C:/ci/kiwisolver_1604014703538/work
97-
lazy-object-proxy==1.4.3
98-
libarchive-c==2.9
99-
llvmlite==0.34.0
100-
locket==0.2.0
101-
lxml @ file:///C:/ci/lxml_1603216366346/work
102-
MarkupSafe==1.1.1
103-
matplotlib @ file:///C:/ci/matplotlib-base_1603355780617/work
104-
mccabe==0.6.1
105-
menuinst==1.4.16
106-
mistune==0.8.4
107-
mkl-fft==1.2.0
108-
mkl-random==1.1.1
109-
mkl-service==2.3.0
110-
mock==4.0.2
111-
more-itertools @ file:///tmp/build/80754af9/more-itertools_1605111547926/work
112-
mpmath==1.1.0
113-
msgpack==1.0.0
114-
multipledispatch==0.6.0
115-
navigator-updater==0.2.1
116-
nbclient @ file:///tmp/build/80754af9/nbclient_1602783176460/work
117-
nbconvert @ file:///C:/ci/nbconvert_1601914925608/work
118-
nbformat @ file:///tmp/build/80754af9/nbformat_1602783287752/work
119-
nest-asyncio @ file:///tmp/build/80754af9/nest-asyncio_1605115881283/work
120-
networkx @ file:///tmp/build/80754af9/networkx_1598376031484/work
121-
nltk @ file:///tmp/build/80754af9/nltk_1592496090529/work
122-
nose==1.3.7
123-
notebook @ file:///C:/ci/notebook_1601501643625/work
124-
numba==0.51.2
125-
numexpr==2.7.1
126-
numpy @ file:///C:/ci/numpy_and_numpy_base_1603466732592/work
127-
numpydoc @ file:///tmp/build/80754af9/numpydoc_1605117425582/work
128-
olefile==0.46
129-
openpyxl @ file:///tmp/build/80754af9/openpyxl_1598113097404/work
130-
packaging==20.4
131-
pandas @ file:///C:/ci/pandas_1602083338010/work
132-
pandocfilters @ file:///C:/ci/pandocfilters_1605102497129/work
133-
paramiko @ file:///tmp/build/80754af9/paramiko_1598886428689/work
134-
parso==0.7.0
135-
partd==1.1.0
136-
path @ file:///C:/ci/path_1598358556930/work
13742
pathlib2==2.3.5
13843
pathtools==0.1.2
13944
patsy==0.5.1
14045
pep8==1.7.1
141-
pexpect==4.8.0
142-
pickleshare==0.7.5
14346
Pillow==8.2.0
14447
pkginfo==1.6.1
14548
pluggy==0.13.1
14649
ply==3.11
14750
prometheus-client==0.8.0
148-
prompt-toolkit @ file:///tmp/build/80754af9/prompt-toolkit_1602688806899/work
149-
psutil @ file:///C:/ci/psutil_1598370330503/work
150-
py @ file:///tmp/build/80754af9/py_1593446248552/work
15151
pycodestyle==2.6.0
152-
pycosat==0.6.3
153-
pycparser @ file:///tmp/build/80754af9/pycparser_1594388511720/work
154-
pycurl==7.43.0.6
155-
pydocstyle @ file:///tmp/build/80754af9/pydocstyle_1598885001695/work
156-
pyflakes==2.2.0
15752
pygame==2.0.1
158-
Pygments @ file:///tmp/build/80754af9/pygments_1604103097372/work
159-
pylint @ file:///C:/ci/pylint_1598617153160/work
160-
PyNaCl @ file:///C:/ci/pynacl_1595000047588/work
161-
pyodbc===4.0.0-unsupported
162-
pyOpenSSL @ file:///tmp/build/80754af9/pyopenssl_1594392929924/work
163-
pyparsing==2.4.7
16453
PyQt5==5.15.2
16554
PyQt5-Qt5==5.15.2
16655
PyQt5-sip==12.8.1
16756
pyreadline==2.1
168-
pyrsistent @ file:///C:/ci/pyrsistent_1600141795814/work
169-
pysftp==0.2.9
170-
PySocks==1.7.1
171-
pytest==0.0.0
17257
python-dateutil==2.8.1
173-
python-jsonrpc-server @ file:///tmp/build/80754af9/python-jsonrpc-server_1600278539111/work
174-
python-language-server @ file:///tmp/build/80754af9/python-language-server_1600454544709/work
17558
pytz==2020.1
176-
PyWavelets @ file:///C:/ci/pywavelets_1601658407916/work
17759
pywin32==227
17860
pywin32-ctypes==0.2.0
17961
pywinpty==0.5.7
18062
PyYAML==5.3.1
18163
pyzmq==19.0.2
18264
QDarkStyle==2.8.1
183-
QtAwesome @ file:///tmp/build/80754af9/qtawesome_1602272867890/work
184-
qtconsole @ file:///tmp/build/80754af9/qtconsole_1600870028330/work
18565
QtPy==1.9.0
186-
regex @ file:///C:/ci/regex_1602770567298/work
187-
requests @ file:///tmp/build/80754af9/requests_1592841827918/work
188-
rope @ file:///tmp/build/80754af9/rope_1602264064449/work
189-
Rtree==0.9.4
190-
ruamel-yaml==0.15.87
191-
scikit-image==0.17.2
192-
scikit-learn @ file:///C:/ci/scikit-learn_1598377018496/work
193-
scipy @ file:///C:/ci/scipy_1604596260408/work
194-
seaborn @ file:///tmp/build/80754af9/seaborn_1600553570093/work
195-
Send2Trash==1.5.0
196-
simplegeneric==0.8.1
197-
singledispatch @ file:///tmp/build/80754af9/singledispatch_1602523705405/work
198-
sip==4.19.13
199-
six @ file:///C:/ci/six_1605187374963/work
200-
snowballstemmer==2.0.0
201-
sortedcollections==1.2.1
202-
sortedcontainers==2.2.2
203-
soupsieve==2.0.1
204-
Sphinx @ file:///tmp/build/80754af9/sphinx_1597428793432/work
205-
sphinxcontrib-applehelp==1.0.2
206-
sphinxcontrib-devhelp==1.0.2
207-
sphinxcontrib-htmlhelp==1.0.3
208-
sphinxcontrib-jsmath==1.0.1
209-
sphinxcontrib-qthelp==1.0.3
210-
sphinxcontrib-serializinghtml==1.1.4
211-
sphinxcontrib-websupport @ file:///tmp/build/80754af9/sphinxcontrib-websupport_1597081412696/work
212-
spyder @ file:///C:/ci/spyder_1599054115447/work
213-
spyder-kernels @ file:///C:/ci/spyder-kernels_1599051709837/work
214-
SQLAlchemy @ file:///C:/ci/sqlalchemy_1603818908746/work
215-
sqlparse==0.4.1
216-
statsmodels==0.12.0
217-
sympy @ file:///C:/ci/sympy_1605101511098/work
218-
tables==3.6.1
219-
tblib @ file:///tmp/build/80754af9/tblib_1597928476713/work
220-
terminado==0.9.1
221-
testpath==0.4.4
222-
threadpoolctl @ file:///tmp/tmp9twdgx9k/threadpoolctl-2.1.0-py3-none-any.whl
223-
tifffile==2020.10.1
224-
toml @ file:///tmp/build/80754af9/toml_1592853716807/work
225-
toolz @ file:///tmp/build/80754af9/toolz_1601054250827/work
226-
tornado==6.0.4
227-
tqdm @ file:///tmp/build/80754af9/tqdm_1602185206534/work
228-
traitlets @ file:///tmp/build/80754af9/traitlets_1602787416690/work
229-
typing-extensions @ file:///tmp/build/80754af9/typing_extensions_1598376058250/work
230-
ujson @ file:///C:/ci/ujson_1602505266082/work
231-
unicodecsv==0.14.1
232-
urllib3 @ file:///tmp/build/80754af9/urllib3_1603305693037/work
233-
watchdog @ file:///C:/ci/watchdog_1593447437088/work
234-
wcwidth @ file:///tmp/build/80754af9/wcwidth_1593447189090/work
235-
webencodings==0.5.1
236-
Werkzeug==1.0.1
237-
widgetsnbextension==3.5.1
238-
win-inet-pton==1.1.0
239-
win-unicode-console==0.5
240-
wincertstore==0.2
241-
wrapt==1.11.2
242-
xlrd==1.2.0
243-
XlsxWriter @ file:///tmp/build/80754af9/xlsxwriter_1602692860603/work
244-
xlwings==0.20.8
245-
xlwt==1.3.0
246-
xmltodict==0.12.0
247-
yapf @ file:///tmp/build/80754af9/yapf_1593528177422/work
248-
zict==2.0.0
249-
zipp @ file:///tmp/build/80754af9/zipp_1604001098328/work
250-
zope.event==4.5.0
251-
zope.interface @ file:///C:/ci/zope.interface_1602002494740/work
66+
bcrypt==3.2.0
67+
cryptography==3.4.8
68+
paramiko==2.7.2
69+
pynacl==1.4.0
70+
pysftp==0.2.9

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import os
2-
from setuptools import setup
2+
from setuptools import setup, find_packages
33

44
APP = ['main.py']
55
APP_NAME = 'FTP Client Program'
@@ -23,5 +23,6 @@
2323
app=APP,
2424
name=APP_NAME,
2525
data_files=DATA_FILES,
26+
packages=find_packages(),
2627
setup_requires=['py2app'],
2728
)

tests/ProgramTest.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import sys
2+
import unittest
3+
from PyQt5.QtWidgets import QApplication
4+
from PyQt5.QtTest import QTest
5+
from PyQt5.QtCore import Qt
6+
from program import Program
7+
8+
class ProgramTest(unittest.TestCase):
9+
program = program.Program()
10+
11+
def setUp(self):
12+
self.program = program
13+
self.program.show()
14+
15+
def test_defaults(self):
16+
self.assertEqual(self.program.currentLocalPath, "\\")
17+
self.assertEqual(self.program.currentRemotePath, "/")

0 commit comments

Comments
 (0)