-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathsetup.py
53 lines (48 loc) · 1.71 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Marc Poulhiès
#
# This file is part of pTFTPd.
# pTFTPd is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# pTFTPd is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pTFTPd. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup, find_packages
with open('ptftplib/version.py') as f:
exec(f.read())
with open('README.rst') as readme:
long_description = readme.read()
setup(
name=name, # noqa
version=version, # noqa
author='Maxime Petazzoni',
author_email='[email protected]',
description='pTFTPd, a pure-Python TFTP tool suite that works',
license='GNU General Public License v2',
long_description=long_description,
zip_safe=True,
install_requires=[],
packages=find_packages(),
entry_points={
'console_scripts':
['bootpd=ptftplib.bootpserver:main',
'dhcpd=ptftplib.dhcpserver:main',
'ptftp=ptftplib.tftpclient:main',
'ptftpd=ptftplib.tftpserver:main',
'pxed=ptftplib.pxeserver:main'],
},
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python',
],
url='https://github.com/mpetazzoni/ptftpd',
)