-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (30 loc) · 949 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# Dynamic version
with open("VERSION") as f:
version = f"0.0.{f.read().strip()}"
setuptools.setup(
name="nutrical", # Replace with your own username
version=version,
author="Yongfu Liao",
author_email="liao961120@gmail.com",
description="Nutrition calculation for recipes and ingredients",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/liao961120/nutrical",
# package_dir = {'': 'src'},
packages=['nutrical'],
install_requires=[
'Pint',
'tabulate',
],
package_data={
"": ["../data/TW_FDA_nutrition_items.csv", "../VERSION"],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)