Skip to content

Commit 06b97cd

Browse files
committed
Add setup file
1 parent 1a2399b commit 06b97cd

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,22 @@ Works with either Python 2.7 or Python 3. This guide will install in a Python Vi
2121

2222
Install required OS packages::
2323

24-
apt-get install python3 python3-dev python3-setuptools
24+
apt-get update
25+
apt-get install python3 python3-dev python3-setuptools git
2526

2627
Install required Python packages::
2728

2829
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
2940

3041
## Installation Guide (Redhat Variants, e.g. RedHat, CentOS)
3142

setup.py

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
)

0 commit comments

Comments
 (0)