-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (55 loc) · 1.88 KB
/
setup.py
File metadata and controls
62 lines (55 loc) · 1.88 KB
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
"""
Setup module for git-maildiff.
This module configures the package installation and metadata.
"""
from pathlib import Path
from setuptools import setup
def read(fname):
return Path(__file__).parent.joinpath(fname).read_text()
reqs_path = Path(__file__).parent.joinpath('requirements.txt')
with open(reqs_path, 'r') as reqh:
install_reqs = reqh.readlines()
v = open(Path(__file__).parent.joinpath('VERSION'))
VERSION = v.readline().strip()
v.close()
setup(
name='maildiff',
version=VERSION,
author='Sanjeev Kumar',
author_email='sansupercool@duck.com',
packages=['emaildiff', 'emaildiff/mail', 'emaildiff/diff'],
data_files = ['VERSION'],
scripts=['scripts/git-maildiff'],
url='https://github.com/sanfx/git-maildiff',
license='GPL-3.0-or-later',
description='Package to email color git diff',
long_description=(open('README.md').read()),
long_description_content_type='text/markdown',
setup_requires=["setuptools>=58.0.4"],
install_requires=install_reqs,
entry_points={
'console_scripts':
['git-maildiff=emaildiff.maildiff_cmd:main']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Software Development',
'Topic :: Software Development :: Version Control',
'Topic :: Utilities',
],
platforms=['Unix', 'Darwin', 'Windows']
)