Skip to content

Commit

Permalink
Build(setup.py): Use setuptools; fix install_requires
Browse files Browse the repository at this point in the history
New keywords (`long_description_content_type`, `project_urls`)
require setuptools; also setuptools is required by the new syntax of
`install_requires`.

Fix syntax of `install_requires` (comparison operator is `==`).

Ignore fsmonitor.egg-info created by setuptools commands.
  • Loading branch information
phdru authored and ljmccarthy committed Jul 4, 2018
1 parent 540f726 commit 0390ff6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/fsmonitor.egg-info/
*.py[co]
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import setup

version = "0.1"

Expand All @@ -12,7 +12,7 @@
long_description_content_type="text/x-rst",
author="Luke McCarthy",
author_email="[email protected]",
licence="MIT",
license="MIT",
url="http://github.com/ljmccarthy/fsmonitor",
download_url="https://pypi.org/project/fsmonitor/%s/" % version,
project_urls={
Expand All @@ -22,6 +22,6 @@
},
keywords=["filesystem", "monitor"],
platforms="Any",
install_requires=["pypiwin32; sys_platform='win32'"],
install_requires=["pypiwin32; sys_platform=='win32'"],
packages=["fsmonitor"],
)

0 comments on commit 0390ff6

Please sign in to comment.