-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
39 lines (36 loc) · 1.19 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
from setuptools import setup, find_packages
import glob
import re
def requires():
""" gets packages from requirements.txt """
with open('requirements.txt') as infile:
return infile.read().splitlines()
## Auto-update ipyrad version from git repo tag
# Fetch version from git tags, and write to version.py.
# Also, when git is not available (PyPi package), use stored version.py.
INITFILE = "PIED/__init__.py"
CUR_VERSION = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
open(INITFILE, "r").read(),
re.M).group(1)
setup(
name="PIED",
version=CUR_VERSION,
url="https://github.com/isaacovercast/PIED",
author="Isaac Overcast",
author_email="[email protected]",
description="Phylogeographic Temporal Analysis",
long_description=open('README.md').read(),
packages=find_packages(),
install_requires=requires(),
entry_points={
'console_scripts': [
'PIED = PIED.__main__:main',
],
},
license='GPL',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
)