Hi.

I'm working on a modules based on Scrapy. The module will be installed from 
PyPi. Basically the structure of the projects is the same one as default 
scrapy supports.

For now I have in settings.py some options related to DB connection and 
since the project will be installed from PyPi, it's not ok the user to 
change the settings from 
site-packages. We need a more elegant solution. First thing that came to my 
mind is to have an importable module and set the SCRAPY_SETTINGS_MODULE point 
to it. This settings module will inherit from my base project settings and 
add the DB connection endpoints. 

Are there any other alternatives? 

Can we somehow use use scrapy.cfg? We will have here *[deploy]* section and 
also define here the DB connections.


Thx a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to