-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·36 lines (30 loc) · 920 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
30
31
32
33
34
35
36
#!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from macaddress import __doc__, __version__
project_directory = os.path.abspath(os.path.dirname(__file__))
readme_path = os.path.join(project_directory, 'README.rst')
readme_file = open(readme_path)
try:
long_description = readme_file.read()
finally:
readme_file.close()
setup(
name='macaddress',
version=__version__,
description=__doc__.split('\n')[0],
long_description=long_description,
license='0BSD',
url='https://github.com/mentalisttraceur/python-macaddress',
author='Alexander Kozhevnikov',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
],
py_modules=['macaddress'],
)