Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
move sphinx to dev requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
berdoc committed Aug 19, 2019
1 parent e40366b commit 9f0cf16
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 2 additions & 0 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx-rtd-theme==0.4.3
sphinx==1.8.5
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ grpcio-tools==1.21.1
grpcio==1.21.1
protobuf==3.7.0
requests==2.21.0
sphinx-rtd-theme==0.4.3
sphinx==1.8.5
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@

"Python DSL to leverage translation of dictionaries and SQLAlchemy into Protobuf objects"


import ast
import os
from setuptools import setup, find_packages

from setuptools import find_packages, setup

local_file = lambda *f: open(os.path.join(os.path.dirname(__file__), *f)).read()

Expand Down Expand Up @@ -40,6 +39,10 @@ def read_test_requirements():
return local_file('test_requirements.txt').splitlines()


def read_dev_requirements():
return local_file('dev_requirements.txt').splitlines()


def read_readme():
"""Read README content.
If the README.rst file does not exist yet
Expand All @@ -58,6 +61,9 @@ def read_readme():
description=read_version(),
include_package_data=True,
install_requires=read_requirements(),
extras_require={
'dev': read_dev_requirements()
},
long_description=read_readme(),
long_description_content_type='text/x-rst',
name='mercator',
Expand Down

0 comments on commit 9f0cf16

Please sign in to comment.