Добавлен setup.py

This commit is contained in:
Jack Stdin 2016-01-31 23:55:00 +03:00
parent 1a221d9a93
commit 62f22f258e
4 changed files with 24 additions and 2 deletions

View File

@ -27,4 +27,8 @@ Python application that can operate with FIAS (Russian Address Object DB)
2. Установить sphinxapi последней версии:
`python -m pip install https://github.com/Romamo/sphinxapi/zipball/master`
### Debian Linux
1. Установить sphinxapi последней версии:
`$pip install https://github.com/Romamo/sphinxapi/zipball/master`

View File

@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
class sphinx_conf:
host_name = "localhost"
port = 9312

View File

@ -23,7 +23,6 @@ class AoRar:
# TODO: UNCOMMENT os.remove(local_filename)
return local_filename
request = requests.get(url, stream=True)
with open(local_filename, 'wb') as f:
for chunk in request.iter_content(chunk_size=1024):

18
setup.py Normal file
View File

@ -0,0 +1,18 @@
from distutils.core import setup
setup(
name='py-phias',
version='0.0.1',
packages=['aore', 'aore.fias', 'aore.config', 'aore.dbutils', 'aore.updater', 'aore.miscutils'],
url='https://github.com/jar3b/py-phias',
license='',
author='hellotan',
author_email='hellotan@live.ru',
description='Python application that can operate with FIAS (Russian Address Object DB)', requires=['lxml',
'bottle',
'pysimplesoap',
'python-Levenshtein',
'enum34',
'rarfile',
'requests']
)