-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·29 lines (24 loc) · 953 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
import glob
import os
from setuptools import find_packages, setup
package_info = {}
exec(open('src/passhfiles/__pkginfo__.py').read(), {}, package_info)
with open('requirements.txt', 'r') as fin:
install_requires = fin.readlines()
scripts = glob.glob(os.path.join('scripts', '*'))
setup(name='passhfiles',
app=['scripts/passhfiles'],
version=package_info['__version__'],
description=package_info['__description__'],
long_description=package_info['__long_description__'],
author=package_info['__author__'],
author_email=package_info['__author_email__'],
maintainer=package_info['__maintainer__'],
maintainer_email=package_info['__maintainer_email__'],
license=package_info['__license__'],
install_requires=install_requires,
packages=find_packages('src'),
include_package_data=True,
package_dir={'': 'src'},
platforms=['Unix', 'Windows'],
scripts=scripts)