Skip to content

Commit

Permalink
Merge pull request #11 from asettouf/pypi_package
Browse files Browse the repository at this point in the history
Add long description in setup.py for push to Pypi
  • Loading branch information
ljmccarthy authored Oct 3, 2017
2 parents 664e221 + a735cf9 commit 78e77b7
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
from distutils.core import setup
from os.path import exists
from platform import system

requires = []
if system == "Windows":
requires = ["pypiwin32"]

setup(
name = "fsmonitor",
version = "0.1",
description = "Filesystem monitoring",
long_description=(open('README.rst').read() if exists('README.rst')
else ''),
author = "Luke McCarthy",
author_email = "[email protected]",
licence="MIT",
url = "http://github.com/shaurz/fsmonitor",
install_requires=[
'pypiwin32',
],
install_requires=requires,
packages = ["fsmonitor"],
)

0 comments on commit 78e77b7

Please sign in to comment.