diff options
-rw-r--r-- | setup.py | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -1,12 +1,29 @@ import setuptools +with open("README.md", "r") as f: + long_description = f.read() + + +def requirements(): + lines = [] + with open("requirements.txt") as f: + for line in f.readlines(): + line = line.strip() + lines.append(line) + + return sorted(list(set(lines))) + + setuptools.setup( name="frest", - version="0.0.19", + version="0.1.0", author="Santo Cariotti", description="Write REST API quickly", + long_description=long_description, + long_description_content_type="text/markdown", url="https://github.com/dcariotti/frest", packages=setuptools.find_packages(), + install_requires=requirements(), package_data={"frest": ["templates/*.txt"]}, classifiers=[ "Programming Language :: Python :: 3", |