-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
34 lines (29 loc) · 1.02 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
from setuptools import setup, find_packages
NAME = 'package'
DESCRIPTION = ''
VERSION = '0.0'
with open("README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
requirements = list(filter(None,f.read().split('\n')))
setup(
name = NAME,
version = VERSION,
#url = '',
author = 'United Nations Dag Hammarskjöld Library',
author_email = '[email protected]',
license = 'http://www.opensource.org/licenses/bsd-license.php',
packages = find_packages(exclude=['test']),
test_suite = 'tests',
install_requires = requirements,
description = DESCRIPTION,
long_description = long_description,
long_description_content_type = "text/markdown",
python_requires = '>=3.8',
entry_points = {
# see https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-console-scripts-entry-point
'console_scripts': [
'run-script=package.scripts.script:run' # rename the command and the path to the function
]
}
)