-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
3 changed files
with
14 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
|
||
from DesOptPy.MainDesOpt import * |
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,23 +1,24 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
|
||
|
||
def package_files(directory): | ||
paths = [] | ||
for (path, directories, filenames) in os.walk(directory): | ||
for filename in filenames: | ||
paths.append(os.path.join('..', path, filename)) | ||
return paths | ||
|
||
|
||
if __name__ == '__main__': | ||
from distutils.core import setup | ||
from distutils.core import setup | ||
extra_files = package_files('DesOptPy') | ||
setup(name='DesOptPy', | ||
version='1.3pre', | ||
version='2019', | ||
description='DESign OPTimization in PYthon', | ||
author='E. J. Wehrle', | ||
author_email='[email protected]', | ||
copyright="Copyright 2015, 2016, 2017, E. J. Wehrle", | ||
copyright="Copyright 2015, 2016, 2017, 2018, 2019 E. J. Wehrle", | ||
package_data={'': extra_files}, | ||
license='GNU Lesser General Public License', | ||
url='www.DesOptPy.org', | ||
url='https://github.com/e-dub/DesOptPy', | ||
packages=['DesOptPy']) |