Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
1. added MANIFEST.in to include non-code files.
Browse files Browse the repository at this point in the history
2. added parsing of requirements.txt to keep the dependencies in sync.
3. upgraded version: 1.0.1
  • Loading branch information
mostafa committed Nov 1, 2018
1 parent 68e0ce2 commit ad6935b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 15 deletions.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include requirements.txt
include mkdocs.yml
include README.md
2 changes: 1 addition & 1 deletion grest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

from .grest import GRest

__version__ = '1.0.0'
__version__ = '1.0.1'
20 changes: 6 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@

from setuptools import setup

# Extract requirements from requirements.txt
REQUIREMENTS = [r.rstrip() for r in open("requirements.txt").readlines()]

# Reading package version (the same way the sqlalchemy does)
with open(join(dirname(__file__), 'grest', '__init__.py')) as v_file:
package_version = re.compile(
Expand All @@ -36,7 +39,8 @@
author="Mostafa Moradian",
author_email="mostafamoradian0@gmail.com",
license="GPLv3",
packages=["grest"],
include_package_data=True,
packages=["grest", "grest.verbs", "examples", "tests", "docs"],
long_description="""
gREST
=====
Expand All @@ -47,18 +51,7 @@
miminum amount of code.
For more information, visit github page of `the project <https://github.com/mostafa/GRest>`_.""",
install_requires=[
"flask",
"flask_classful",
"neomodel",
"webargs",
"markupsafe",
"inflection",
"autologging",
"requests",
"pyaml",
"dicttoxml"
],
install_requires=REQUIREMENTS,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand All @@ -71,7 +64,6 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7"
],
# keywords='',
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest-flask'],
zip_safe=False)

0 comments on commit ad6935b

Please sign in to comment.