-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
32 lines (30 loc) · 1.18 KB
/
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
from setuptools import setup, find_packages
from codecs import open
from buildlib import yaml
config = yaml.loadfile('Project')
long_description = open('README.md').read()
setup(
name=config['proj_pypi_name'],
version=config['version'],
author=config['author'],
author_email=config['author_email'],
maintainer=config['maintainer'],
maintainer_email=config['maintainer_email'],
url=config['url'],
description=config['description'],
long_description=long_description,
long_description_content_type="text/markdown",
download_url=config['url'] + '/tarball/' + config['version'],
license=config['license'],
keywords=config['keywords'],
include_package_data=True,
platforms=config['pypi']['platforms'],
classifiers=config['pypi']['classifiers'],
install_requires=config['pypi']['install_requires'],
packages=find_packages(
where='.', exclude=('tests', 'tests.*', 'venv-vhpi', 'venv-vhpi.*')),
package_dir=config['pypi']['package_dir'],
package_data=config['pypi']['package_data'],
data_files=config['pypi']['data_files'],
entry_points=config['pypi']['entry_points'],
tests_require=config['pypi']['tests_require'])