-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
30 lines (25 loc) · 923 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
from distutils.core import setup
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__':
extra_files = package_files('pyUngewiss')
setup(
name='pyUngewiss',
version='1.1',
author='E. J. Wehrle',
author_email='[email protected]',
packages=['pyUngewiss'],
package_data={'': extra_files},
description='Python library for UNcertainty analysis in liGhtwEight dsiGn with IntervalS and fuzzy numberS',
license='GPL3',
long_description=long_description,
long_description_content_type='text/markdown',
)