Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ python:
- "2.7"
# command to install dependencies
install:
- pip install -r dev-requirements.txt
- pip install -r requirements.txt
# command to run tests
script:
Expand Down
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,7 @@ Table of Contents
## <a name="installation"></a> Installation
PerimeterX Python middleware is installed via PIP:
`$ pip install perimeterx-python-wsgi`
After the installation, go to your django working dir and verify that the
INSTALLED_APPS clause in your settings.py file contains 'perimeterx' .
```
INSTALLED_APPS = [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'perimeterx',
]
```

## <a name="upgrading"></a> Upgrading
Contact [PerimeterX Support](mailto: support@perimeterx.com) for details.
## <a name="required_config"></a> Required Configurations
Expand Down Expand Up @@ -189,4 +178,4 @@ config = {
additional_activity_handler: additional_activity_handler_function,
...
}
```
```
6 changes: 1 addition & 5 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
pystache==0.5.4
mock==2.0.0
requests==2.20.1
requests_mock==1.5.2
setuptools==40.6.2
Crypto
pylint
pylint==1.9.3
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Crypto
pycrypto==2.6.1
pystache==0.5.4
requests==2.20.1
setuptools==40.6.2
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from setuptools import setup, find_packages

install_requires = open('./requirements.txt', 'r').readlines()
version = 'v2.0.1'
setup(name='perimeterx-python-wsgi',
version=version,
Expand All @@ -13,8 +14,6 @@
download_url='https://github.com/PerimeterX/perimeterx-python-wsgi/tarball/' + version,
packages=find_packages(exclude=['dev', 'test*']),
package_data={'perimeterx': ['templates/*']},
install_requires=[
"pystache==0.5.4", 'requests==2.20.1', 'setuptools==40.6.2', 'requests_mock==1.5.2',
'pycrypto==2.6.1', 'mock==2.0.0', 'pylint'],
install_requires=install_requires,
classifiers=['Intended Audience :: Developers',
'Programming Language :: Python :: 2.7'])