|
1 | 1 | from setuptools import find_packages, setup |
2 | 2 |
|
3 | | -setup( |
4 | | - name = "NoSQLMap", |
5 | | - version = "0.5", |
6 | | - packages = find_packages(), |
7 | | - scripts = ['nosqlmap.py', 'nsmmongo.py', 'nsmcouch.py'], |
8 | | - |
9 | | - entry_points = { |
10 | | - "console_scripts": [ |
11 | | - "NoSQLMap = nosqlmap:main" |
12 | | - ] |
13 | | - }, |
14 | | - |
15 | | - install_requires = [ "CouchDB==1.0", "httplib2==0.9", "ipcalc==1.1.3",\ |
16 | | - "NoSQLMap==0.5", "pbkdf2==1.3", "pymongo==2.7.2",\ |
17 | | - "requests==2.5.0"], |
18 | | - |
19 | | - author = "tcstools", |
20 | | - author_email = "nosqlmap@gmail.com", |
21 | | - description = "Automated MongoDB and NoSQL web application exploitation tool", |
22 | | - license = "GPLv3", |
23 | | - long_description = open("README.md").read(), |
24 | | - url = "http://www.nosqlmap.net" |
25 | | - ) |
26 | 3 |
|
| 4 | +with open("README.md") as f: |
| 5 | + setup( |
| 6 | + name = "NoSQLMap", |
| 7 | + version = "0.5", |
| 8 | + packages = find_packages(), |
| 9 | + scripts = ['nosqlmap.py', 'nsmmongo.py', 'nsmcouch.py'], |
| 10 | + |
| 11 | + entry_points = { |
| 12 | + "console_scripts": [ |
| 13 | + "NoSQLMap = nosqlmap:main" |
| 14 | + ] |
| 15 | + }, |
| 16 | + |
| 17 | + install_requires = [ "CouchDB==1.0", "httplib2==0.9", "ipcalc==1.1.3",\ |
| 18 | + "NoSQLMap==0.5", "pbkdf2==1.3", "pymongo==2.7.2",\ |
| 19 | + "requests==2.5.0"], |
| 20 | + |
| 21 | + author = "tcstools", |
| 22 | + author_email = "nosqlmap@gmail.com", |
| 23 | + description = "Automated MongoDB and NoSQL web application exploitation tool", |
| 24 | + license = "GPLv3", |
| 25 | + long_description = f.read(), |
| 26 | + url = "http://www.nosqlmap.net" |
| 27 | + ) |
0 commit comments