-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·63 lines (50 loc) · 2.16 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/usr/bin/env python3
from pathlib import Path
import setuptools
project_dir = Path(__file__).parent
setuptools.setup(
name='pymergevcd',
version='0.6.1',
description='Merge various VCD files',
# Allow UTF-8 characters in README with encoding argument.
long_description=project_dir.joinpath('README.md').read_text(encoding='utf-8'),
long_description_content_type="text/markdown",
keywords=['python'],
author='Kristoffer Nordström',
url='https://github.com/kown7/pymergevcd',
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
# pip 9.0+ will inspect this field when installing to help users install a
# compatible version of the library for their Python version.
python_requires='>=3.6',
# There are some peculiarities on how to include package data for source
# distributions using setuptools. You also need to add entries for package
# data to MANIFEST.in.
# See https://stackoverflow.com/questions/7522250/
include_package_data=True,
# This is a trick to avoid duplicating dependencies between both setup.py and
# requirements.txt.
# requirements.txt must be included in MANIFEST.in for this to work.
# It does not work for all types of dependencies (e.g. VCS dependencies).
# For VCS dependencies, use pip >= 19 and the PEP 508 syntax.
# Example: 'requests @ git+https://github.com/requests/requests.git@branch_or_tag'
# See: https://github.com/pypa/pip/issues/6162
install_requires=project_dir.joinpath('requirements.txt').read_text().split('\n'),
zip_safe=False,
license='MIT',
license_files=['LICENSE.txt'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
entry_points={
'console_scripts': ['pymergevcd=pymergevcd.cli:main'],
}
)