-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added build/setup. Fixed loop in merge
- Loading branch information
1 parent
5430048
commit c360ae6
Showing
6 changed files
with
91 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,77 @@ | ||
from setuptools import setup | ||
# -*- coding: utf-8 -*- | ||
|
||
#from setuptools import setup as setup_wheel | ||
import sys | ||
from cx_Freeze import setup, Executable | ||
|
||
#Derive Package Paths Dynamically | ||
import os.path | ||
PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__)) | ||
|
||
## setuptools dev | ||
#setup_wheel( name = "lbsnDataTransfer", | ||
# version = "0.1.4", | ||
# description = "lbsn data structure format & transfer tool", | ||
# author='Alexander Dunkel', | ||
# url='https://gitlab.vgiscience.de/lbsn/lbsn-twitter-json-mapping', | ||
# license='GNU GPLv3 or any higher', | ||
# packages=['classes', | ||
# 'config', | ||
# 'lbsnstructure'], | ||
# install_requires=[ | ||
# 'protobuf', | ||
# 'psycopg2', | ||
# 'ppygis3', | ||
# 'shapely', | ||
# 'emoji', | ||
# 'numpy', | ||
# 'shutil', | ||
# 'heapq' | ||
# ]) | ||
|
||
# Dependencies are automatically detected, but it might need fine tuning. | ||
#build_exe_options = {"packages": ["os"], "excludes": []} | ||
#includes_mod = ['google.protobuf', | ||
# 'psycopg2', | ||
# 'ppygis3', | ||
# 'shapely', | ||
# 'emoji', | ||
# 'numpy', | ||
# 'shutil', | ||
# 'heapq', | ||
# ] | ||
|
||
## CXFreeze build | ||
excludes_mod = ['tkinter', | ||
'matplotlib', | ||
'IPython', | ||
'ipykernel', | ||
'jedi', | ||
'jinja2', | ||
'jupyter_client', | ||
'multiprocessing', | ||
'scipy', | ||
'numpy'] | ||
packages_mod = [ | ||
'psycopg2', | ||
'ppygis3', | ||
'shapely', | ||
'emoji', | ||
'shutil', | ||
'heapq' | ||
] | ||
include_folders_files = [('tests/00_TransferAll_Default.sh', '00_TransferAll_Default.sh') | ||
] | ||
build_exe_options = {'include_files': include_folders_files, "packages": packages_mod, "excludes": excludes_mod} | ||
base = None | ||
executables = [ | ||
Executable('transferData.py', base=base) | ||
] | ||
setup( name = "lbsnDataTransfer", | ||
version = "0.1.4", | ||
description = "lbsn data structure format & transfer tool", | ||
author='Alexander Dunkel', | ||
url='https://gitlab.vgiscience.de/lbsn/lbsn-twitter-json-mapping', | ||
license='GNU GPLv3 or any higher', | ||
packages=['classes', | ||
'config', | ||
'lbsnstructure'], | ||
install_requires=[ | ||
'protobuf', | ||
'psycopg2', | ||
'ppygis3', | ||
'shapely', | ||
'emoji', | ||
'numpy', | ||
'shutil', | ||
'heapq', | ||
'contextlib' | ||
]) | ||
options = {'build_exe': build_exe_options }, | ||
executables = executables) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters