-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (51 loc) · 1.84 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup, find_packages
import os
# read the contents of README.md and CONTRIBUTORS.md
def read_file(filename):
with open(filename, "r", encoding="utf-8") as f:
return f.read()
# check if CONTRIBUTORS.md exists before including it
contributors_file = "CONTRIBUTORS.md"
long_description = read_file("README.md")
if os.path.exists(contributors_file):
long_description += "\n\n" + read_file(contributors_file)
setup(
name="councilcount",
version="0.1.7",
description="The `councilcount` package allows easy access to ACS population data across various NYC geographic boundaries. For the boundaries that are not native to the ACS, such as council districts, an estimate is provided.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Rachel Avram",
author_email="[email protected]",
license="MIT",
url="https://github.com/NewYorkCityCouncil/councilcount-py",
packages=find_packages(where="src"),
package_dir={"": "src"},
package_data={
"councilcount": ["data/*.csv", "data/*.geojson"],
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"certifi==2024.12.14",
"charset-normalizer==3.4.1",
"geojson==3.2.0",
"idna==3.10",
"numpy==1.26.4",
"pandas==2.2.3",
"python-dateutil==2.9.0.post0",
"pytz==2024.2",
"requests==2.32.3",
"six==1.17.0",
"tzdata==2025.1",
"urllib3==2.3.0",
],
python_requires=">=3.9",
# Include any other URLs such as BugTracker, Documentation if needed
project_urls={
"Bug Tracker": "https://github.com/NewYorkCityCouncil/councilcount-py/issues",
},
)