Skip to content

Commit

Permalink
absolute reference
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingBird95 committed Mar 19, 2018
1 parent d0ae956 commit a5442fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
recursive-include flask_monitoringdashboard/static *
recursive-include flask_monitoringdashboard/templates *
include requirements.txt
include README.md
include CHANGELOG.rst
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import setuptools
import io
import os
loc = os.path.dirname(os.path.abspath(__file__))


def desc():
with open('README.md') as readme:
with open(loc + 'README.md') as readme:
info = readme.read()
with open('CHANGELOG.rst') as changelog:
with open(loc + 'CHANGELOG.rst') as changelog:
info = info + '\n\n' + changelog.read()
return info

with open('requirements.txt') as f:
with open(loc + 'requirements.txt') as f:
required = f.read().splitlines()

setuptools.setup(
Expand Down

0 comments on commit a5442fb

Please sign in to comment.