This repository has been archived on 2022-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
python-usda/setup.py

47 lines
1.6 KiB
Python
Raw Normal View History

2019-10-23 06:35:21 +00:00
#!/usr/bin/env python3
2018-04-13 17:42:28 +00:00
from setuptools import setup, find_packages
2018-07-10 06:52:19 +00:00
def read_requirements(filename):
return [req.strip() for req in open(filename)]
setup(
2018-04-13 17:42:28 +00:00
name='python-usda',
2018-10-26 20:07:57 +00:00
version=open('VERSION').read().strip(),
2018-04-13 17:42:28 +00:00
author='Lucidiot',
packages=find_packages(
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={
2019-10-23 06:50:08 +00:00
'': ['*.rst', 'LICENSE', 'README'],
},
2018-07-10 06:52:19 +00:00
install_requires=read_requirements('requirements.txt'),
2019-04-04 16:11:49 +00:00
python_requires='>=3.4',
2018-04-22 13:42:53 +00:00
extras_require={
2018-07-10 06:52:19 +00:00
'dev': read_requirements('requirements-dev.txt'),
2018-04-22 13:42:53 +00:00
},
2018-04-13 17:42:28 +00:00
license='GNU General Public License 3',
description="A fork of pygov focused on USDA nutritional database API",
2019-10-23 06:50:08 +00:00
long_description=open('README.rst').read(),
long_description_content_type='text/markdown',
2018-04-13 17:42:28 +00:00
keywords="api usda nutrition food",
2018-08-26 20:19:36 +00:00
url="https://gitlab.com/Lucidiot/python-usda",
2018-04-13 17:42:28 +00:00
classifiers=[
2018-07-14 10:11:22 +00:00
"Development Status :: 5 - Production/Stable",
2018-04-13 17:42:28 +00:00
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
2018-10-20 20:48:15 +00:00
"Programming Language :: Python :: 3 :: Only",
2018-04-13 17:42:28 +00:00
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
2018-10-20 20:48:15 +00:00
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
2018-04-13 17:42:28 +00:00
],
project_urls={
2018-08-26 20:19:36 +00:00
"Source Code": "https://gitlab.com/Lucidiot/python-usda",
"GitHub Mirror": "https://github.com/Lucidiot/python-usda",
2018-04-13 17:42:28 +00:00
"Gitter Chat": "https://gitter.im/BrainshitPseudoScience/Lobby",
}
)