| |
@@ -1,7 +1,6 @@
|
| |
#!/usr/bin/env python
|
| |
from __future__ import absolute_import
|
| |
|
| |
- import os.path
|
| |
from setuptools import setup
|
| |
|
| |
|
| |
@@ -24,15 +23,13 @@
|
| |
|
| |
|
| |
def get_version():
|
| |
- cwd = os.path.dirname(__file__)
|
| |
lcls = {}
|
| |
- exec(open(os.path.join(cwd, 'koji/_version.py'), 'rt').read(), None, lcls)
|
| |
+ exec(open('koji/_version.py', 'rt').read(), None, lcls)
|
| |
return lcls['__version__']
|
| |
|
| |
|
| |
def get_long_description():
|
| |
- cwd = os.path.dirname(__file__)
|
| |
- return open(os.path.join(cwd, "README.md"), "rt").read()
|
| |
+ return open("README.md", "rt").read()
|
| |
|
| |
|
| |
setup(
|
| |
When setuptools are run from other tooling (e.g. pip install git...),
the file would point to different location. Using current directory
seems to be safer.