-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kilik Kuo
committed
Mar 19, 2017
1 parent
7390f8c
commit 07933c6
Showing
102 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import os | ||
from setuptools import setup, find_packages | ||
|
||
package_files_paths = [] | ||
def package_files(directory): | ||
global package_files_paths | ||
for (path, directories, filenames) in os.walk(directory): | ||
for filename in filenames: | ||
if filename == '.gitignore': | ||
continue | ||
print(filename) | ||
package_files_paths.append(os.path.join('..', path, filename)) | ||
|
||
package_files('OpenCLGA/ui') | ||
package_files('OpenCLGA/kernel') | ||
|
||
setup(name='OpenCLGA', | ||
version='0.1', | ||
description='Run a general purpose genetic algorithm on top of pyopencl.', | ||
url='https://github.com/PyOCL/oclGA.git', | ||
author='John Hu(胡訓誠), Kilik Kuo(郭彥廷)', | ||
author_email='im@john.hu, kilik.kuo@gmail.com', | ||
license='MIT', | ||
include_package_data=True, | ||
packages=find_packages(), | ||
package_data={ | ||
'OpenCLGA': package_files_paths, | ||
'OpenCLGA.examples.taiwan_travel': ['kernel/*.c', '*.json'], | ||
}, | ||
install_requires=[ | ||
'pycparser', | ||
'cffi', | ||
'numpy', | ||
'wheel', | ||
], | ||
zip_safe=False) |