This repository was archived by the owner on May 26, 2025. It is now read-only.
forked from Ibercivis/TwitterDataMining
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (55 loc) · 1.88 KB
/
setup.py
File metadata and controls
61 lines (55 loc) · 1.88 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# For some reason, building exes with py2exe doesnt work right now.
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
scripts = ['socialstickersd']
opts = {
"py2exe": {
'includes': 'cairo, pango, pangocairo, atk, gobject, gio',
"excludes": "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': ['SocialStickers'],
}
}
data_files = []
for dirpath, dirnames, filenames in os.walk('SocialStickers'):
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'):
del dirnames[i]
if filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(name='SocialStickers',
version='1.0.1',
description='Social stickers daemon',
author='David Francos Cuartero (XayOn)',
console = [{"script": "socialstickersd" }],
author_email='xayon@davidfrancos.net',
url='http://github.com/XayOn/socialstickers',
download_url='http://github.com/XayOn/socialstickers',
license='GPL2',
requires=['tornado', 'imaging', 'zbar'],
classifiers=[
'Development Status :: 4 - Beta',
],
mantainer='David Francos Cuartero (XayOn)',
mantainer_email='xayon@xayon.net',
long_description="Social Stickers web application",
packages=['SocialStickers'],
scripts=scripts,
options=opts,
data_files=data_files,
package_data={
'SocialStickers' : [
'static/'
'templates/'
]
}
)