-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
36 lines (31 loc) · 989 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
from pathlib import Path
from setuptools import setup
from convey import __version__
# using the same libraries in requirements.txt because after many articles I didn't understand any good reason why I shouldn't
requirements = ""
p = Path("requirements.txt")
if p.exists():
requirements = p.read_text()
# load long description
p = Path("README.md")
if p.exists():
long_description = p.read_text()
setup(
name='convey',
version=__version__,
packages=['convey'],
author='Edvard Rejthar',
author_email='[email protected]',
url='https://github.com/CZ-NIC/convey',
license='GNU GPLv3',
description='CSV processing and mutual conversion of web related data types',
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=[requirements.split("\n")],
entry_points={
'console_scripts': [
'convey = convey.__main__:main',
],
},
include_package_data=True
)