Skip to content

Commit

Permalink
readme for pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
e-dub committed Jan 5, 2022
1 parent 0571864 commit ad98fb4
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,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.1',
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'])
setup(
name='CLamPy',
version='1.1',
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',
)

0 comments on commit ad98fb4

Please sign in to comment.