-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build(setup.py): Use setuptools; fix
install_requires
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
1 parent
540f726
commit 0390ff6
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
/fsmonitor.egg-info/ | ||
*.py[co] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
||
|
@@ -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={ | ||
|
@@ -22,6 +22,6 @@ | |
}, | ||
keywords=["filesystem", "monitor"], | ||
platforms="Any", | ||
install_requires=["pypiwin32; sys_platform='win32'"], | ||
install_requires=["pypiwin32; sys_platform=='win32'"], | ||
packages=["fsmonitor"], | ||
) |