setup.py: cleanup
authorSebastien Bourdeauducq <sb@m-labs.hk>
Tue, 22 Sep 2015 09:27:27 +0000 (17:27 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Tue, 22 Sep 2015 09:27:27 +0000 (17:27 +0800)
setup.py

index fcb7999815acb44d426ea3943e575adea759e4f9..b1a7ead1bfd81b921d8f8ad5b5df38487171ac3a 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -5,8 +5,6 @@ import os
 from setuptools import setup
 from setuptools import find_packages
 
-here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, "README.md")).read()
 
 required_version = (3, 3)
 if sys.version_info < required_version:
@@ -17,12 +15,12 @@ setup(
     name="migen",
     version="1.0",
     description="Python toolbox for building complex digital hardware",
-    long_description=README,
+    long_description=open("README.md").read(),
     author="Sebastien Bourdeauducq",
     author_email="sb@m-labs.hk",
     url="http://m-labs.hk",
     download_url="https://github.com/m-labs/migen",
-    packages=find_packages(here),
+    packages=find_packages(),
     test_suite="migen.test",
     license="BSD",
     platforms=["Any"],