Добавлен setup.py
This commit is contained in:
parent
1a221d9a93
commit
62f22f258e
@ -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`
|
@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
class sphinx_conf:
|
||||
host_name = "localhost"
|
||||
port = 9312
|
||||
|
@ -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
18
setup.py
Normal 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']
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user