forked from hatching/sflock
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request hatching#5 from nbargnesi/make-pip-work-with-9a0d88b
fix package installation when dependencies aren't already installed
- Loading branch information
Showing
3 changed files
with
13 additions
and
5 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 |
---|---|---|
|
@@ -3,12 +3,19 @@ | |
# This file is part of SFlock - http://www.sflock.org/. | ||
# See the file 'docs/LICENSE.txt' for copying permission. | ||
|
||
from setuptools import setup | ||
from sflock import __version__ | ||
from setuptools import setup, find_packages | ||
from distutils.util import convert_path | ||
|
||
ver_module_ns = {} | ||
ver_module = convert_path('sflock/__version__.py') | ||
with open(ver_module) as fh: | ||
exec(fh.read(), ver_module_ns) | ||
assert '__version__' in ver_module_ns | ||
version = ver_module_ns['__version__'] | ||
|
||
setup( | ||
name="SFlock", | ||
version=__version__, | ||
version=version, | ||
author="Hatching B.V.", | ||
author_email="[email protected]", | ||
packages=[ | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Only set __version__ here; this module is executed by setup.py via exec(). | ||
__version__ = "0.3.13" |