-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (31 loc) · 711 Bytes
/
setup.py
File metadata and controls
40 lines (31 loc) · 711 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import sys, os
import scrapy_sqlite
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from codecs import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'scrapy_sqlite'
]
requires = [
'Scrapy>=0.14'
]
setup(
name='scrapy-sqlite',
author='Filip Hanes',
description='SQLite Plug-in for Scrapy',
version='0.1.0',
author_email='filip.hanes@gmail.com',
license='MIT',
url='https://github.com/filyph/scrapy-sqlite',
install_requires=requires,
packages=packages
)