-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
33 lines (27 loc) · 995 Bytes
/
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
import os
from pathlib import Path
from distutils.core import setup
this_directory = Path(__file__).parent
long_description = (this_directory / 'README.md').read_text()
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__':
extra_files = package_files('DesOptPy')
setup(
name='DesOptPy',
version='2022.1.5',
description='DESign OPTimization in PYthon',
author='E. J. Wehrle',
author_email='[email protected]',
copyright='Copyright 2015-2022 E. J. Wehrle',
package_data={'': extra_files},
license='GNU Lesser General Public License 3.0',
url='https://github.com/e-dub/DesOptPy',
packages=['DesOptPy'],
long_description=long_description,
long_description_content_type='text/markdown',
)