mirror of https://github.com/scrapy/scrapy.git
new setup.py
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40252
This commit is contained in:
parent
a85e53053d
commit
818d9baf69
|
|
@ -10,7 +10,7 @@ def findfiles(pattern, base='.'):
|
|||
|
||||
name = 'scrapy'
|
||||
|
||||
setup (
|
||||
setup(
|
||||
name = name,
|
||||
version = '0.1',
|
||||
description = '',
|
||||
|
|
@ -20,10 +20,9 @@ setup (
|
|||
license = '',
|
||||
url = 'http://scrapy.org',
|
||||
|
||||
packages = [name] + ['%s.%s' % (name,p) for p in find_packages('scrapy')],
|
||||
package_data = {name:
|
||||
findfiles('*.tmpl', 'scrapy/templates')
|
||||
packages = find_packages(),
|
||||
package_data = {
|
||||
'': ['*.tmpl'],
|
||||
},
|
||||
data_files = [],
|
||||
scripts = ['scrapy/bin/scrapy-admin.py'],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue