File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,22 @@ Works with either Python 2.7 or Python 3. This guide will install in a Python Vi
21
21
22
22
Install required OS packages::
23
23
24
- apt-get install python3 python3-dev python3-setuptools
24
+ apt-get update
25
+ apt-get install python3 python3-dev python3-setuptools git
25
26
26
27
Install required Python packages::
27
28
28
29
easy_install3 pip
30
+ pip install virtualenv
31
+
32
+ Create VirtualEnv for application::
33
+
34
+ virtualenv /opt/conntestd
35
+
36
+ Assume the VirtualEnv and install ConnTestD::
37
+
38
+ source /opt/conntestd/bin/activate
39
+ pip install
29
40
30
41
## Installation Guide (Redhat Variants, e.g. RedHat, CentOS)
31
42
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ from distutils .core import setup
3
+ from setuptools import find_packages
4
+ import os
5
+
6
+ base_name = 'ConnTestD'
7
+
8
+ # allow setup.py to be run from any path
9
+ os .chdir (os .path .normpath (os .path .join (os .path .abspath (__file__ ), os .pardir )))
10
+
11
+ setup (
12
+ name = base_name ,
13
+ version = '1.0' ,
14
+ author = u'Robert Putt' ,
15
+ author_email = 'robputt796@github' ,
16
+ include_package_data = True ,
17
+ packages = find_packages (), # include all packages under this directory
18
+ description = 'to update' ,
19
+ long_description = "" ,
20
+ zip_safe = False ,
21
+
22
+ # Adds dependencies
23
+ install_requires = ['flask' ,
24
+ 'sqlalchemy' ,
25
+ 'speedtest-cli' ,
26
+ 'Flask-APScheduler' ,
27
+ 'pygal'
28
+ ]
29
+ )
You can’t perform that action at this time.
0 commit comments