Commit 81d94b3b authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.9.4 fix setup.py for python3;

update dependency_links to use my own url.
parent 3700399a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.9.3"
(defproject python/lein-template "0.9.4"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ def requirements_file_to_list(fn="requirements.txt"):
    """read a requirements file and create a list that can be used in setup.

    """
    with open(fn, 'rb') as f:
    with open(fn, 'r') as f:
        return [x.rstrip() for x in list(f) if x and not x.startswith('#')]


@@ -25,7 +25,7 @@ setup(
    packages=find_packages(),
    install_requires=requirements_file_to_list(),
    dependency_links=[
        "http://apt.yygamedev.com/python/"
        "https://emacsos.com/python/packages/"
    ],
    entry_points={
        # 'console_scripts': [