-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.71 KB
/
setup.py
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
41
42
43
44
45
46
47
48
#!/usr/bin/env python
# Got from Digenpy's setup.py (http://github.com/XayOn/Digenpy)
from distutils.core import setup
import os, shutil
scripts=['TwitterDataMiner', 'TwitterDataMinerHelper' ]
if os.name is not "posix":
if os.name is "nt":
import py2exe
shutil.copyfile('TwitterDataMiner','TwitterDataMiner.py')
scripts=['TwitterDataMiner.py', 'TwitterDataMinerHelper.py']
opts = {
"py2exe": {
'includes': '',
"excludes": "cairo, gtk,atk,gdk",
"dll_excludes": [
"iconv.dll","intl.dll","libatk-1.0-0.dll",
"libgdk_pixbuf-2.0-0.dll","libgdk-win32-2.0-0.dll",
"libglib-2.0-0.dll","libgmodule-2.0-0.dll",
"libgtk-win32-2.0-0.dll","libpango-1.0-0.dll",
"libpangowin32-1.0-0.dll"],
'packages': ['RLT', 'twitter'],
}
}
setup(name='TwitterDataMiner',
version='0.3',
download_url='https://github.com/Ibercivis/TwitterDataMining/downloads',
requires=['MySQL_python', 'argparse', 'python_twitter'],
platforms=['all'],
long_description='Twitter data mining scripts, able to save into mysql, sqlite, or json format',
license='GPL2+',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
],
mantainer='David Francos Cuartero (XayOn)',
mantainer_email='[email protected]',
description='Twitter data mining scripts ',
author='David Francos Cuartero (XayOn)',
console = [{"script": "TwitterDataMiner" }],
author_email='[email protected]',
url='http://github.com/Ibercivis/TwitterDataMining',
packages=['RLT'],
scripts=scripts,
options=opts,
)