Skip to content

Commit 1cbc62a

Browse files
author
Thinh Nguyen
committed
re-work pkg_name and use README as long_description
1 parent fc8f72b commit 1cbc62a

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

setup.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
from setuptools import setup, find_packages
22
from os import path
33

4-
pkg_name = 'element_array_ephys'
4+
pkg_name = 'element-array-ephys'
55
here = path.abspath(path.dirname(__file__))
66

7-
long_description = """"
8-
DataJoint Element for Extracellular Array Electrophysiology with Neuropixels probe
9-
"""
7+
with open(path.join(here, 'README.md'), 'r') as f:
8+
long_description = f.read()
109

1110
with open(path.join(here, 'requirements.txt')) as f:
1211
requirements = f.read().splitlines()
1312

14-
with open(path.join(here, pkg_name, 'version.py')) as f:
13+
with open(path.join(here, pkg_name.replace('-', '_'), 'version.py')) as f:
1514
exec(f.read())
1615

1716
setup(
18-
name='element-array-ephys',
17+
name=pkg_name,
1918
version=__version__,
2019
description="DataJoint Element for Extracellular Array Electrophysiology",
2120
long_description=long_description,

0 commit comments

Comments
 (0)