-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
32 lines (25 loc) · 933 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
# -*- coding: utf-8 -*-
import os
from pathlib import Path
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__':
from distutils.core import setup
extra_files = package_files('CLamPy')
setup(
name='CLamPy',
version='1.2',
description='Classical LAMinate theory for the lightweight design of structures and systems in PYthon',
author='E. M. Gioia & E. J. Wehrle',
package_data={'': extra_files},
license='GNU Lesser General Public License',
packages=['CLamPy'],
long_description=long_description,
long_description_content_type='text/markdown',
)