Skip to content

Commit eaba165

Browse files
Simplify setup.py
1 parent 979499d commit eaba165

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

setup.py

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
import os
16-
17-
from codecs import open
18-
19-
from setuptools import find_packages, setup
20-
21-
22-
def read_version():
23-
here = os.path.abspath(os.path.dirname(__file__))
24-
with open(os.path.join(here, "pymc_extras", "version.txt")) as f:
25-
version = f.read().strip()
26-
return version
27-
15+
from setuptools import setup
2816

2917
if __name__ == "__main__":
30-
setup(
31-
name="pymc-extras",
32-
version=read_version(),
33-
packages=find_packages(exclude=["tests*"]),
34-
)
18+
setup()

0 commit comments

Comments
 (0)