-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·32 lines (27 loc) · 810 Bytes
/
setup.py
File metadata and controls
executable file
·32 lines (27 loc) · 810 Bytes
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
#!/usr/bin/env python
"""
The setup script for the contactparser
"""
from setuptools import setup, find_packages
import os
import contactparser
def read(fname):
"""
returns the content of the relative file fname
"""
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="contactparser",
packages=find_packages(),
entry_points={
"console_scripts": ["contactparser = contactparser.contactparser:main"]
},
author=contactparser.__authors__,
author_email=contactparser.__email__,
license=contactparser.__license__,
description=contactparser.__doc__,
long_description=read("README.md"),
url=contactparser.__url__,
version=contactparser.__version__,
install_requires=["BeautifulSoup4", "argparse", "argcomplete"]
)